summaryrefslogtreecommitdiff
path: root/python/metaindex.cc
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@canonical.com>2010-06-25 16:10:13 +0200
committerMartin Pitt <martin.pitt@canonical.com>2010-06-25 16:10:13 +0200
commit337fec14957b98c01bc61a5b516bcf8cd98ccb82 (patch)
tree52d3bd94c02ae9be75fb11bfd423043ef10838cc /python/metaindex.cc
parent2c39f0847c8f32b93cac8d450d30b657548bafd4 (diff)
downloadpython-apt-337fec14957b98c01bc61a5b516bcf8cd98ccb82.tar.gz
apt/cache.py: When iterating over the cache, do so sorted by package name.
With this we read the the package lists linearly if we need to access the package records, instead of having to do thousands of random seeks; the latter is disastrous if we use compressed package indexes, and slower than necessary for uncompressed indexes.
Diffstat (limited to 'python/metaindex.cc')
0 files changed, 0 insertions, 0 deletions