Commit Graph
2 Commits
Author SHA1 Message Date
gregor 6a3d5aa0b0 gitignore 2026-05-31 22:20:14 +02:00
gregorandClaude Opus 4.8 5fdae1e7d5 avoid redundant copies in render cell marshalling
- store codepoints by reference in RenderCell (accessor still clones on
  read); the constructor clone double-allocated every cell and defeated
  the shared-empty-array optimization
- return rows as an unmodifiable view instead of List.copyOf; the list is
  a fresh local that never escapes
- preallocate row/cell lists to known rows/cols capacity

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-31 22:16:43 +02:00