Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-15 19:10:09 +01:00
06d82e0d6d
Instead of allocating the 4KB for every chunk section, cache it locally and reuse it for other chunk sections to save on allocations. These allocations add up very quickly when saving chunks frequently. For example, with 30,000 chunks and 16 chunk sections per chunk (which will actually get larger in 1.18) it allocates nearly 2GB, which this patch eliminates entirely. |
||
---|---|---|
.. | ||
api | ||
removed | ||
server |