-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jesus Cea wrote: >> I'd focus on just the on >> disk index of individual records so maybe somehow it can be made that >> such that it just doesn't need to be read completely on start-up. > > If the index record were stored ordered, I guess you could do a binary > search (with a cache) of the index directly on disk. An elegant solution would be to "mmap" that file section in memory and let the operating system to cache accesses to that :-). - -- Jesus Cea Avion _/_/ _/_/_/ _/_/_/ jcea@argo.es http://www.argo.es/~jcea/ _/_/ _/_/ _/_/ _/_/ _/_/ jabber / xmpp:jcea@jabber.org _/_/ _/_/ _/_/_/_/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBRB/oFJlgi5GaxT1NAQKdlgP8CV4fdCNdjypT+qI3Ol/Zh5h2y+De9bxX lOytCQINMEvZTAXCoa2LJ3Vx1SDNuB808mEPSvmVffA6Ol2gl8rrJOh0Bp6ZVA+9 TywAgXzrB3hIyZ1xT7ZMu4YRXCJHDHUO4RyQyoNe5GeRdLImaikiZonkWEaOEfMM Lv4j6LGWxSs= =CA3I -----END PGP SIGNATURE-----