pop4959 / Chunky

Pre-generates chunks, quickly, efficiently, and safely.
GNU General Public License v3.0
556 stars 63 forks source link

perf: do not wait for server thread when dispatching tasks #322

Closed ishland closed 6 months ago

ishland commented 6 months ago

This PR removes the waiting behavior of getChunkAtAsync and isChunkGenerated, bringing parity with Paper and potentially better throughput on Fabric platform.

pop4959 commented 6 months ago

There was a time where these joins were necessary, but definitely not after the task refactor.

Looks good, thank you!

pop4959 commented 6 months ago

Almost forgot about Forge, ported this over there as well for parity since the implementation is practically identical.