diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-29 12:22:50 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-29 14:30:01 -0300 |
| commit | c4f3749c058121ba086a851188691e7ae40d2018 (patch) | |
| tree | 670de57e99619809d88828d589ea3af2b7483995 /src/linux | |
| parent | 3b793d1d349c01bf6046b0f87742f16755069115 (diff) | |
| download | pardes-c4f3749c058121ba086a851188691e7ae40d2018.tar.gz pardes-c4f3749c058121ba086a851188691e7ae40d2018.zip | |
a row's last byte deep in a long line is found walking to its column only: rawAtDisplay no longer measures the rest of the line first
File.rawAtDisplay took the display width of the whole rest of the line
before walking to the column, so every byteAtRowDisplay on a row of a
2 MB line measured 2 MB: a selection whose head is deep in such a line,
with the line's first rows in view, drew in 20 ms (Debug) instead of
0.1. Only a line that ends before the column is measured whole now, and
it is short. Same answers, at the end and past it included (the test).
The perf gate's deep-sel cell had never drawn that line: its view, set
by ensureCursorVisible from the last frame's wrap map, stopped six
lines short of it. With the map made for the view as it is (File.geometry,
next commit) the line is in view and the walk showed.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/linux')
0 files changed, 0 insertions, 0 deletions
