pacquet icon indicating copy to clipboard operation
pacquet copied to clipboard

perf: resolution should not be blocked by fetching packages to the store

Open zkochan opened this issue 11 months ago • 0 comments

The resolution stage should not be blocked by the fetch stage. Once we resolve a dependency, we should immediately proceed to resolving its own dependencies. Fetching of packages to the store should happen in parallel.

Currently, resolution is blocked by fetching packages to the store as seen in this function:

https://github.com/pnpm/pacquet/blob/f66d64c886474ec7b587ce330d6db54ad9966879/crates/cli/src/package.rs#L17-L29

zkochan avatar Oct 01 '23 20:10 zkochan