very large dictionaries

Matteo Dell'Amico della at toglimi.linux.it
Thu Jun 17 09:43:22 CEST 2004


William Park wrote:
> Since you are talking about key/value record, you can choose from GDBM
> (gdbm), Berkeley DB (dbhash), or disk-based dictionary front-end
> (shelve).   You can now access GDBM database from Bash shell. :-)

If you just need fast lookup, maybe cdb 
(http://pilcrow.madison.wi.us/#pycdb) can be of use: two disk accesses 
per lookup.

-- 
Ciao,
Matteo



More information about the Python-list mailing list