Open GoogleCodeExporter opened 9 years ago
This happens through `redraw_for_cursorline`, and is caused by redrawing being
rather slow with long lines.
See also `:for i in range(0, 100) | redraw! | endfor` - it's fast with the long
line being removed, but slow with the initial test file.
Original comment by dhahler@gmail.com
on 6 Jan 2015 at 8:49
I am attaching the callgraph from `valgrind --tool=callgrind --dump-instr=yes
--simulate-cache=yes --collect-jumps=yes vim test.diff` (exported through
kcachegrind).
This is for starting Vim and then moving three (or four?) lines down.
It might make sense to cache the results from `win_line` (or something similar)
and re-use them as long as the buffer does not change.
Original comment by dhahler@gmail.com
on 6 Jan 2015 at 9:12
Attachments:
Original issue reported on code.google.com by
dhahler@gmail.com
on 6 Jan 2015 at 8:30