CubicChunks

CubicChunks

840k Downloads

Readd chunk saving queue

Barteks2x opened this issue ยท 2 comments

commented

Writing chunks to NBT can take quite a while, add a queue for that so that chunk unloading doesn't stall the main thread when something decides to unload too many chunks at once. Also related to #7

commented

Just a quick mention: This must be done in the main thread, otherwise concurrency issues will arise.

commented

Yes, but a queue can smooth the writing to NBT over many things for arbitarrily long time instead of what the code that asked for saving does.