distr1 / distri

a Linux distribution to research fast package management
https://distr1.org
Other
532 stars 28 forks source link

Speed up package scanning (from 3.6s to <1s) #58

Closed stapelberg closed 4 years ago

stapelberg commented 4 years ago

With larger package stores, the time it takes to find exchange directories adds up. Given that this happens at early boot, I looked into some low-hanging fruit to make the implementation faster (but perhaps more work can be moved to package-creation time).

The general technique is to cut down on memory allocations in the hot paths.