perf: removed partial spec caching. not worth the tiny performance boost

This commit is contained in:
Folke Lemaitre 2022-11-30 00:18:59 +01:00
parent 9be3d3d840
commit 4438faf9a9
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
8 changed files with 77 additions and 228 deletions

View file

@ -115,7 +115,7 @@ end
---@param opts? ManagerOpts
function M.clean(opts)
Plugin.update_state({ clean = true })
Plugin.update_state()
M.run({
pipeline = { "fs.clean" },
plugins = Config.to_clean,
@ -123,7 +123,7 @@ function M.clean(opts)
end
function M.clear()
Plugin.update_state({ clean = true })
Plugin.update_state()
for _, plugin in pairs(Config.plugins) do
plugin._.updated = nil
plugin._.cloned = nil