aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/system_spec.lua
diff options
context:
space:
mode:
authorVanaIgr <vanaigranov@gmail.com>2023-12-13 13:25:48 -0600
committerVanaIgr <vanaigranov@gmail.com>2024-01-18 21:30:47 -0600
commita9c551e5e38f484e9055a930b3feaa9ac65d07be (patch)
tree14a0465de0e425a06f9107918965d28a533bdc26 /test/functional/lua/system_spec.lua
parent77c3d66be9a2ee2c06a2eac049de94c16e92436a (diff)
downloadrneovim-a9c551e5e38f484e9055a930b3feaa9ac65d07be.tar.gz
rneovim-a9c551e5e38f484e9055a930b3feaa9ac65d07be.tar.bz2
rneovim-a9c551e5e38f484e9055a930b3feaa9ac65d07be.zip
perf: cache breakindent/showbreak width in win_lbr_chartabsize
breakindent was recomputed on every call to win_lbr_charbabsize() when the character is past the end of the first row of a wrapped line. Even though the function for computing breakindent cached the last result, reusing the cached value required strcmp of the cached line with the given line.
Diffstat (limited to 'test/functional/lua/system_spec.lua')
0 files changed, 0 insertions, 0 deletions