8291c8af5b
A client of a server (single player's server thread, LAN, multiplayer) handled every received packet in the frame it arrived. Crossing a chunk border at 32 chunks brings 25 to 60 columns at once, 0.1 ms each to decode on an M4 Pro: a 3 to 8 ms frame each time. Once a frame has spent 1 ms on chunk packets, the events from the next chunk packet on wait for the next frame, in order; events that have waited a tick are all handled at once, so a slow machine's backlog never holds packets longer than that. The status's pending_chunks counts the waiting events. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>