diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:56 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:56 +0000 |
commit | f9eec0e748c2e735980bf80445535d32f27f8301 (patch) | |
tree | 10a872793fd1833d751e5fd07f54d7a06a2df9bf /apt-pkg/pkgcachegen.h | |
parent | 06bba740f0085bcd6262cece62dcff266d8efe95 (diff) | |
download | apt-f9eec0e748c2e735980bf80445535d32f27f8301.tar.gz |
performance tuning
Author: jgg
Date: 1999-02-23 06:46:24 GMT
performance tuning
Diffstat (limited to 'apt-pkg/pkgcachegen.h')
-rw-r--r-- | apt-pkg/pkgcachegen.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/apt-pkg/pkgcachegen.h b/apt-pkg/pkgcachegen.h index 4c22ecf6f..8ffb277c6 100644 --- a/apt-pkg/pkgcachegen.h +++ b/apt-pkg/pkgcachegen.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: pkgcachegen.h,v 1.11 1998/12/14 02:23:47 jgg Exp $ +// $Id: pkgcachegen.h,v 1.12 1999/02/23 06:46:24 jgg Exp $ /* ###################################################################### Package Cache Generator - Generator for the cache structure. @@ -31,6 +31,10 @@ class OpProgress; class pkgCacheGenerator { + private: + + pkgCache::StringItem *UniqHash[26]; + public: class ListParser; @@ -74,6 +78,10 @@ class pkgCacheGenerator::ListParser pkgCacheGenerator *Owner; friend pkgCacheGenerator; + // Some cache items + pkgCache::VerIterator OldDepVer; + __apt_ptrloc *OldDepLast; + protected: inline unsigned long WriteUniqString(string S) {return Owner->WriteUniqString(S);}; |