Is shelve/dbm supposed to be this inefficient?

Joshua J. Kugler joshua at eeinternet.com
Wed Aug 1 20:35:35 EDT 2007


On Wednesday 01 August 2007 16:08, Thomas Jollans wrote:
> Have you considered a directory full of pickle files ? (In effect,
> replacing the dbm with the file system) i.e. something like (untested)
> 
> class DirShelf(dict):
<SNIP sample implementation of DirShelf>

A very interesting idea.  I'll have to see how that plays out
performance-wise.  Thanks for the idea, and the roughed-out code!

j

-- 
Joshua Kugler
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE




More information about the Python-list mailing list