diff options
author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2024-05-27 08:08:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-27 08:08:23 -0500 |
commit | 48251134ee59a3e2f0aeb89608fa820c21b25d4f (patch) | |
tree | 62856aa0110c3f3bcd169a19f2b2a3a31abbf422 /runtime/lua/vim/snippet.lua | |
parent | c4eb0b64bd4923a72fe737837cfe234c80fb539c (diff) | |
download | rneovim-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