No such thing as a small change | |
PerlMonks |
Re: Regexes eating too much RAMby kvale (Monsignor) |
on Mar 04, 2006 at 04:33 UTC ( [id://534419]=note: print w/replies, xml ) | Need Help?? |
The main way to save memory is to process your files a bit at a time. Is there any structure to the file - paragraphs, blank lines, etc. - that you can use as a self contained unit of translation? Maybe there is one or a couple of names per line? Then read line, translate line, write line, repeat.
-Mark
In Section
Seekers of Perl Wisdom
|
|