changelog: mention performance improvements in event handling

This commit is contained in:
Dylan K. Taylor 2021-03-16 23:32:23 +00:00
parent eba6899065
commit 83d1051a06
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -42,6 +42,7 @@ This major version features substantial changes throughout the core, including s
- Timings now use high-resolution timers provided by `hrtime()` to collect more accurate performance metrics.
- Z-order curves (morton codes) are now used for block and chunk coordinate hashes. This substantially improves performance in many areas by resolving a hashtable key hash collision performance issue. Affected areas include explosions, light calculation, and more.
- [`libdeflate`](https://github.com/ebiggers/libdeflate) is now (optionally) used for outbound Minecraft packet compression. It's more than twice as fast as zlib in most cases, providing significant performance boosts to packet broadcasts and overall network performance.
- Closures are now used for internal event handler calls. This provides a performance improvement of 10-20% over the 3.x system, which had to dynamically resolve callables for every event call.
### Logger revamp
- Many components now have a dedicated logger which automatically adds [prefixes] to their messages.