aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/buffer.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-10-13 21:09:49 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2021-10-23 11:11:00 +0200
commit8ade2f5b0495ee41868e52d48816d02249e2364d (patch)
treef308f3f937979a539e0bc8e79a6c891a87f495fd /src/nvim/api/buffer.c
parentd0f10a7addc17149d7e63ff20705762c357eb469 (diff)
downloadrneovim-8ade2f5b0495ee41868e52d48816d02249e2364d.tar.gz
rneovim-8ade2f5b0495ee41868e52d48816d02249e2364d.tar.bz2
rneovim-8ade2f5b0495ee41868e52d48816d02249e2364d.zip
refactor(decorations): mark decorations directly on the marktree
This allows to more quickly skip though regions which has non-decorative marks when redrawing. This might seem like a gratuitous micro-optimization in isolation. But! Soon decorations are gonna crop into other hot inner-loop paths, including the plines.c code for calculating the horizontal and vertical space of text. Then we want to quickly skip over regions with "only" overlaying decorations (which do not affect text size)
Diffstat (limited to 'src/nvim/api/buffer.c')
0 files changed, 0 insertions, 0 deletions