[RFC] pack index lookup performance

Aaron Bentley aaron at aaronbentley.com
Tue Apr 15 22:02:17 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Collins wrote:
> Indeed; this is where the hit/miss ratio is useful because hits get
> cached per index, but there is no miss cache at the moment.
> 
> So if you ask a 1-record index that has been fully parsed for 15K keys
> it does not have, it does 15K bisections.

It seems we should be examining the hit caches of all indices before
doing more expensive operations.  Are we doing that?

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIBRfY0F+nu1YWqI0RAiZVAJ45EbJ/9GWR37IQoKXlrD12UGW/rQCeLYU/
OxxgKUkMlc1R86umwi6KNtw=
=eCz9
-----END PGP SIGNATURE-----



More information about the bazaar mailing list