mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
perf: tons of performance improvements. Lazy should now load in about 1.5ms for 97 plugins
This commit is contained in:
parent
711834f17c
commit
2507fd5790
11 changed files with 220 additions and 278 deletions
|
@ -12,6 +12,7 @@ local used = {}
|
|||
---@type table<string,string>
|
||||
local cache = {}
|
||||
|
||||
---@return string?
|
||||
function M.get(key)
|
||||
if cache[key] then
|
||||
used[key] = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue