Knee Cola
248b9cf3d0
perf: implement canvas pooling to reduce memory allocations
Replace per-iteration canvas creation with a reusable canvas pool:
- Pre-allocate 6 canvas objects (max needed for split=5 strategy)
- Reuse canvases across all split strategies by resizing
- Set unused canvases to 0×0 to free bitmap memory
- Reduces allocations from ~36 to 6 objects (83% reduction)
Benefits:
- Lower memory footprint
- Reduced GC pressure
- Better performance (resize vs allocate)
- More deterministic memory usage
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-20 09:52:24 +01:00
..
2025-12-19 09:59:37 +01:00
2024-02-09 09:44:49 +01:00
2025-12-20 09:52:24 +01:00
2025-12-20 08:49:11 +01:00
2024-01-15 15:31:13 +01:00
2024-01-15 15:26:17 +01:00
2025-11-17 18:37:59 +01:00
2024-01-15 15:47:02 +01:00
2024-01-15 15:47:02 +01:00
2024-01-15 15:47:02 +01:00
2024-01-15 15:47:02 +01:00
2024-01-15 15:47:02 +01:00
2024-01-15 15:47:02 +01:00
2024-02-17 09:14:06 +01:00