mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
changelog: mention performance improvements caused by morton codes and libdeflate
these two things provide a significant performance improvement over PM3, so they should be noted.
This commit is contained in:
parent
72de45f0e9
commit
eba6899065
@ -40,6 +40,8 @@ This major version features substantial changes throughout the core, including s
|
||||
- Lighting is no longer guaranteed to be available on every chunk. It's now calculated on the fly as-needed.
|
||||
- `/op`, `/deop`, `/whitelist add` and `/whitelist remove` no longer cause player data to be loaded from disk for no reason.
|
||||
- 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.
|
||||
|
||||
### 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