mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
changelog: mention performance improvements in event handling
This commit is contained in:
parent
eba6899065
commit
83d1051a06
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user