diff options
author | Mathias Fussenegger <f.mathias@zignar.net> | 2024-12-08 18:14:30 +0100 |
---|---|---|
committer | Lewis Russell <lewis6991@gmail.com> | 2025-03-31 16:44:33 +0100 |
commit | f517fcd14847e30c55b88b2ccffdb6ba4b80018c (patch) | |
tree | f45ca23eb56fff287e189e8b9421674662b44d61 /runtime/lua/vim/provider.lua | |
parent | 42657e70b8a8ddf8edbe261f410aeb6169e5f6dc (diff) | |
download | rneovim-f517fcd14847e30c55b88b2ccffdb6ba4b80018c.tar.gz rneovim-f517fcd14847e30c55b88b2ccffdb6ba4b80018c.tar.bz2 rneovim-f517fcd14847e30c55b88b2ccffdb6ba4b80018c.zip |
perf(lsp): use string.buffer for rpc loop
Avoids some table allocations.
In a quick test over 50000 iterations it reduces the time from 130ms to
74 ms
For the test setup details see:
https://github.com/mfussenegger/nvim-dap/pull/1394#issue-2725352391
Diffstat (limited to 'runtime/lua/vim/provider.lua')
0 files changed, 0 insertions, 0 deletions