3 ms·
Alternatively: Downloading the entire state of all packages when you care about just one, it never works out. O(1) beats O(n) as n gets large.
by ori_b 10mo ago
Alternatively: Downloading the entire state of all packages when you care about just one, it never works out.
O(1) beats O(n) as n gets large.
- gruez 10mo agoSeems to still work out for apt?
- ajb 10mo agoNot in the same sense. An analogy might be: apt is like fetching a git repo in which all the packages are submodules, so lazily fetched. Some of the package managers in the article seem to be using a monorepo for all packages - including the content. Others seem to have different issues - go wasn't including enough information in the top level, so all the submodules had to be fetched anyway. vcpkg was doing something with tree hashes which meant they weren't really addressible.
- collinmanderson 10mo agoI consider apt kinds slow. I wish it were much faster.