2010/12/2 Torsten Förtsch <torsten.foert...@gmx.net>: > On Thursday, December 02, 2010 14:26:36 Xiao Lan wrote: >> > But, looking at the module I think it can be slow because it relies >> > heavily on seek(). A better approach would be to mmap() the file. In >> > perl it would look then like a big string. My favourite tool for that is >> > File::Map. >> >> OK thanks for this info. I will take a look at File::Map. > > If I were you, I'd really consider to convert the database into an MMapDB, see > http://search.cpan.org/perldoc?MMapDB >
Yup that's a good idea. But I dont know how to convert the original database to MMapDB. :-) Thanks.