aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/snippet.lua
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2024-05-27 08:08:23 -0500
committerGitHub <noreply@github.com>2024-05-27 08:08:23 -0500
commit48251134ee59a3e2f0aeb89608fa820c21b25d4f (patch)
tree62856aa0110c3f3bcd169a19f2b2a3a31abbf422 /runtime/lua/vim/snippet.lua
parentc4eb0b64bd4923a72fe737837cfe234c80fb539c (diff)
downloadrneovim-48251134ee59a3e2f0aeb89608fa820c21b25d4f.tar.gz
rneovim-48251134ee59a3e2f0aeb89608fa820c21b25d4f.tar.bz2
rneovim-48251134ee59a3e2f0aeb89608fa820c21b25d4f.zip
perf: add fast path to vim.validate (#28977)
For many small/simple functions (like those found in shared.lua), the runtime of vim.validate can far exceed the runtime of the function itself. Add an "overload" to vim.validate that uses a simple assertion pattern, rather than parsing a full "validation spec".
Diffstat (limited to 'runtime/lua/vim/snippet.lua')
0 files changed, 0 insertions, 0 deletions