anydbm is slow
Skip Montanaro
skip at pobox.com
Thu Jan 3 11:21:33 EST 2002
Sean> One thing I did find was that letting anydbm pick the dbm module,
Sean> which I eventually found would, after inserting a lot of elements,
Sean> generate an exception on insertion. It, unfortunately, wasn't
Sean> very reliable and I never ended up tracking it down. I did end up
Sean> switching to gdbm, which solved the problem.
Could it have perhaps been choosing bsddb and you had Berkeley DB 1.x
installed? It had serious bugs in the hash implementation.
--
Skip Montanaro (skip at pobox.com - http://www.mojam.com/)
More information about the Python-list
mailing list