diff options
author | Julian Andres Klode <jak@debian.org> | 2016-09-27 18:16:13 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2016-11-22 22:57:46 +0100 |
commit | 5664bb2020530c0a8bbd0dc4c889743921b42429 (patch) | |
tree | 12634911ce877acf17265c16040e6d85f16f4132 /apt-pkg/deb/deblistparser.h | |
parent | abfd07702c1bbc3ed489d015b43db58ab677af0c (diff) |
debListParser: Convert to use pkgTagSection::Key-based lookup
This basically gets rid of 40-50% of the hash table lookups,
making things a bit faster that way, and the profiles look
far cleaner.
Diffstat (limited to 'apt-pkg/deb/deblistparser.h')
-rw-r--r-- | apt-pkg/deb/deblistparser.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apt-pkg/deb/deblistparser.h b/apt-pkg/deb/deblistparser.h index 102cd62aa..43ce0cfd3 100644 --- a/apt-pkg/deb/deblistparser.h +++ b/apt-pkg/deb/deblistparser.h @@ -52,10 +52,8 @@ class APT_HIDDEN debListParser : public pkgCacheListParser map_filesize_t iOffset; virtual bool ParseStatus(pkgCache::PkgIterator &Pkg,pkgCache::VerIterator &Ver); -#ifdef APT_PKG_EXPOSE_STRING_VIEW - bool ParseDepends(pkgCache::VerIterator &Ver, APT::StringView Tag, + bool ParseDepends(pkgCache::VerIterator &Ver, pkgTagSection::Key Key, unsigned int Type); -#endif bool ParseProvides(pkgCache::VerIterator &Ver); #ifdef APT_PKG_EXPOSE_STRING_VIEW |