mojira.dev
MC-134666

Server saves proto chunks

Saving of current progress of generating chunks appears to be a pretty wasteful process.
This causes a lot more activity to occur on the main thread, for data that becomes irrelevant very shortly after.

All saving of proto chunks even helps with is resuming a chunk that was cancelled mid generation at server shutdown.

That's a pretty extreme use case, when you could simply not save them, and allow the generation to start over the next request.

I really recommend removing this, so only Level staged proto chunks are saved.

This gets rid of the entire method at the chunk scheduler that processes these, saving a ton of work.

Comments 1

Still in 1.16.4 or later?

Aikar

(Unassigned)

Plausible

Performance

Minecraft 1.13

Retrieved