[Israel.pm] Memory problem - Loading big files
gaal at forum2.org
Fri Jun 20 06:24:42 PDT 2008
I meant both.
On Fri, Jun 20, 2008 at 3:24 PM, Ran Eilam <ran.eilam at gmail.com> wrote:
> 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
> Perl mailing list
> Perl at perl.org.il
Gaal Yahas <gaal at forum2.org>
More information about the Perl