1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
denoland-deno/cli/npm/resolution
David Sherret 8dc242f789
perf: more efficient deno cache and npm package info usage (#16592)
1. There was a lot of cloning going on with `NpmPackageInfo`. This is
now stored in an `Arc<NpmPackageInfo>` and cloning only happens on the
individual version.
2. The package cache is now cleared from memory after resolution.
3. This surfaced a bug in `deno cache` and I noticed it can be more
efficient if we have multiple root specifiers if we provide all the
specifiers as roots.
2022-11-11 11:33:57 -05:00
..
graph.rs perf: more efficient deno cache and npm package info usage (#16592) 2022-11-11 11:33:57 -05:00
mod.rs perf: more efficient deno cache and npm package info usage (#16592) 2022-11-11 11:33:57 -05:00
snapshot.rs feat(unstable/npm): support peer dependencies (#16561) 2022-11-08 14:17:24 -05:00