mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
dcdefd0428
Problem: vim.fs.normalize() normalizes too much vim.loader and is slow. Solution: Make it faster by doing less. This reduces the times spent in vim.fs.normalize in vim.loader from ~13ms -> 1-2ms. Numbers from a relative benchmark: - Skipping `vim.validate()`: 285ms -> 230ms - Skipping `path_resolve_dot()`: 285ms -> 60ms - Skipping `double_slash`: 60ms -> 35ms |
||
---|---|---|
.. | ||
nvim | ||
provider | ||
vim | ||
_vim9script.lua | ||
coxpcall.lua | ||
editorconfig.lua | ||
man.lua | ||
tohtml.lua |