]> git.saurik.com Git - apt.git/commit
Compare size before data when ordering cache bucket entries
authorJulian Andres Klode <jak@debian.org>
Tue, 27 Sep 2016 16:59:11 +0000 (18:59 +0200)
committerJulian Andres Klode <jak@debian.org>
Tue, 22 Nov 2016 21:58:19 +0000 (22:58 +0100)
commitf378b41f9ab2493bcbc5892d482b18826b0b84c0
tree70f6a9235860f9f04b1b55b110e5412f1c601037
parentf903069c139df58d1ba855f7cf02c4a2d4e51dc3
Compare size before data when ordering cache bucket entries

This has the effect of significantly reducing actual string
comparisons, and should improve the performance of FindGrp
a bit, although it's hardly measureable (callgrind says it
uses 10% instructions less now).
apt-pkg/contrib/string_view.h
apt-pkg/pkgcache.cc
apt-pkg/pkgcachegen.cc