anydbm is slow
Amir Michail
amichail at cse.unsw.edu.au
Tue Jan 1 23:22:04 EST 2002
On Wed, 2 Jan 2002 14:12, Skip Montanaro wrote:
> >> What underlying db module does anydbm use?
>
> Amir> It returns dbhash from '/usr/lib/python2.1/dbhash.pyc'.
>
> Amir> Perhaps I should use a different db package? The data consists
> of Amir> an enormous number of keys and relatively short data strings.
>
> I doubt you'll find anything faster. I think you need to consider whether
> you should be writing the entire db at exit or not. What sort of data
> access pattern do you have? I still think you might find it better to
> simply access the data directly from the database.
Hi,
The program, GUISearch, is not incremental in that way. It just
analyzes source code and generates databases. The databases
are not written to after that.
Amir
More information about the Python-list
mailing list