Emil 3e53d709f7 perf: fix lag — chunk gen budget, dirty rect limit 2048, active chunk radius 2
- stream_chunks: max 2 chunk generations per tick (was unlimited)
- stream_chunks: save every 10 ticks, 1 chunk at a time (was every tick)
- stream_chunks: unload every 120 ticks (was 60)
- CA dirty rect limit 4096→2048, subdivide instead of skip
- Layer step dirty rect limit 4096→2048
- update_active_chunks: simplified — radius 2 around player for infinite,
  direct activation for bounded, no HashSet allocation
- ensure_chunk: early return after cache load (skip redundant insert)
- 129 FPS avg, p99 11ms (was 50 FPS, p99 265ms)
2026-06-22 13:54:47 +03:00
2026-06-21 22:27:20 +03:00
2026-06-21 22:27:20 +03:00
2026-06-21 22:27:20 +03:00
2026-06-21 22:27:20 +03:00
S
Description
ASCII physical game
1.9 MiB
Languages
Rust 98.6%
GLSL 1%
Python 0.4%