summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcache.h
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-05-29 10:29:21 +0200
committerMichael Vogt <mvo@debian.org>2014-05-29 10:29:21 +0200
commit43f8819b7fbfd24c5013bbe3183cd85e10e77af3 (patch)
tree86df0bfc0cebfc6d777828b2c80aeac36e128828 /apt-pkg/pkgcache.h
parenta93a32b5cda4f2a0572365a8b919329ea6af2c66 (diff)
increase Pkg/Grp hash table size from 2k to 64k
Diffstat (limited to 'apt-pkg/pkgcache.h')
-rw-r--r--apt-pkg/pkgcache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/pkgcache.h b/apt-pkg/pkgcache.h
index 5e8a9630a..4dd1b33d4 100644
--- a/apt-pkg/pkgcache.h
+++ b/apt-pkg/pkgcache.h
@@ -314,8 +314,8 @@ struct pkgCache::Header
these packages are stored as a sequence in the list.
Beware: The Hashmethod assumes that the hash table sizes are equal */
- map_ptrloc PkgHashTable[2*1048];
- map_ptrloc GrpHashTable[2*1048];
+ map_ptrloc PkgHashTable[64*1048];
+ map_ptrloc GrpHashTable[64*1048];
/** \brief Size of the complete cache file */
unsigned long CacheFileSize;