perf: merge module/cache and use ffi to pack cache data

This commit is contained in:
Folke Lemaitre 2022-11-30 14:19:50 +01:00
parent 4438faf9a9
commit e1c08d64b3
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
4 changed files with 90 additions and 134 deletions

View file

@ -68,7 +68,7 @@ function M.setup(opts)
pattern = "VeryLazy",
once = true,
callback = function()
require("lazy.core.cache").autosave()
require("lazy.core.module").autosave()
require("lazy.view").setup()
end,
})