- Use a global cache fox index file sizes to avoid potentially very expensive
authorPanu Matilainen <pmatilai@turre.koti.laiskiainen.org>
Tue, 24 Apr 2007 08:03:59 +0000 (11:03 +0300)
committerPanu Matilainen <pmatilai@turre.koti.laiskiainen.org>
Tue, 24 Apr 2007 08:03:59 +0000 (11:03 +0300)
commit8f8ae827e883ef5ba000852bba99380fc26795b5
tree9d23e4bf2b7c4e3345bcece822e7ab2053e9af10
parenta3e63c6d422bef4899999d663eb3e0c3a3cf9c35
- Use a global cache fox index file sizes to avoid potentially very expensive
  successive calls to CreateHandler() just for progress reporting where it
  doesn't even matter if the information is 100% accurate. This also allows
  getting rid of xml/sqlite specific optimizations inside rpmindexfile.cc
  and fixes old "must optimize this somehow" cases in rpm-dir type indexes.
apt-pkg/rpm/rpmhandler.cc
apt-pkg/rpm/rpmindexfile.cc
apt-pkg/rpm/rpmindexfile.h