diff options
author | Lewis Russell <lewis6991@gmail.com> | 2024-10-02 11:48:05 +0100 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2024-10-03 11:19:59 +0100 |
commit | c6abc97006eee7fc89baefad2e1bddb248187f2e (patch) | |
tree | 01f5aee87682c283de143d6dda0b37094dc32f0e /runtime/lua/vim/lsp/rpc.lua | |
parent | cc300e553b458e08c4b1d4be117ee51a289cbdee (diff) | |
download | rneovim-c6abc97006eee7fc89baefad2e1bddb248187f2e.tar.gz rneovim-c6abc97006eee7fc89baefad2e1bddb248187f2e.tar.bz2 rneovim-c6abc97006eee7fc89baefad2e1bddb248187f2e.zip |
perf(treesitter): do not use tree cursors with a small lifetime
Problem:
Tree cursors can only be efficient when they are re-used.
Short-lived cursors are very slow.
Solution:
Reimplement functions that use short-lived cursors.
Diffstat (limited to 'runtime/lua/vim/lsp/rpc.lua')
0 files changed, 0 insertions, 0 deletions