[Israel.pm] Memory problem - Loading big files
Ran Eilam
ran.eilam at gmail.com
Fri Jun 20 05:24:18 PDT 2008
Tie::File will work great if you have a record separator, and the code
should be no more complex than searching an array of strings.
The amount of memory you want to use is just a parameter to Tie::File.
Gaal- can you elaborate on the data requirements you think will effect
him? Do you mean:
key distribution uniform - important for the binary search
record sizes roughly same size - to help Tie::File find separators
Ran
More information about the Perl
mailing list