pnpm / supi

Fast, disk space efficient installation engine. Used by pnpm
MIT License
24 stars 5 forks source link

perf: don't build more than 1 subtree for pure package #20

Closed zkochan closed 6 years ago

zkochan commented 6 years ago

@valotas could you try your project with this optimization?

It significantly reduces the number of nodes as packages mostly don't have peer dependencies and subtrees should be duplicated only if there are peer dependencies in the child nodes

zkochan commented 6 years ago

sorry, I'll have to recheck this because a test failed

zkochan commented 6 years ago

The solution from #19 is better