]> git.saurik.com Git - apt.git/commit - apt-pkg/cacheiterators.h
Switch performance critical code to use APT::StringView
authorJulian Andres Klode <jak@debian.org>
Thu, 7 Jan 2016 18:16:23 +0000 (19:16 +0100)
committerJulian Andres Klode <jak@debian.org>
Thu, 7 Jan 2016 18:59:08 +0000 (19:59 +0100)
commiteff0c22e59e65b6b63e854ff41eb091278e05714
tree8496b397479c397085bb57dd4756c9113b4e2cbf
parentfe7fa47c1141066c89ab3382c318a4b9d00fe249
Switch performance critical code to use APT::StringView

This improves performance of the cache generation on my
ARM platform (4x Cortex A15) by about 10% to 20% from
2.35-2.50 to 2.1 seconds.
14 files changed:
apt-pkg/cacheiterators.h
apt-pkg/contrib/hashsum_template.h
apt-pkg/contrib/strutl.cc
apt-pkg/contrib/strutl.h
apt-pkg/deb/deblistparser.cc
apt-pkg/deb/deblistparser.h
apt-pkg/makefile
apt-pkg/pkgcache.cc
apt-pkg/pkgcache.h
apt-pkg/pkgcachegen.cc
apt-pkg/pkgcachegen.h
apt-pkg/tagfile-compat.cc [new file with mode: 0644]
apt-pkg/tagfile.cc
apt-pkg/tagfile.h