diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-07 00:23:54 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-07 01:43:36 -0300 |
| commit | 15112e516880436a589f09e6f8377166692fde37 (patch) | |
| tree | 4b7c9740ac9be0a45aafbc469e4a32cb6dd307ce /src/Layer.zig | |
| parent | 6decf23fe8ac1ce6b48dac42a3502900f6e251b7 (diff) | |
| download | pardes-15112e516880436a589f09e6f8377166692fde37.tar.gz pardes-15112e516880436a589f09e6f8377166692fde37.zip | |
perf: recolorSyntax paints a grapheme's cells in a loop per painter again (its syntax colour, a diff's emphasis ground, a result's emphasis, a +Pager's colours), each run only when it paints, where qoqpsnqx's one loop asked all four on every cell: that cost the medium file's frame 185k instructions (1.15M to 1.33M, +16%), about 6 µs of every render, key, page and wheel step, and the frame is back to 1.14M, what it was before the refactor
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/Layer.zig')
0 files changed, 0 insertions, 0 deletions
