halecommarachel has asked for the wisdom of the Perl Monks concerning the following question:
Greetings Monks,
I am trying to speed up the parsing of thousands of files, each large in size. I use open, a while loop for each line, and a bunch of if/elsif statements with regular expressions to store relevant information into a hash. Is there a different way to go through the files that's less expensive?
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Parsing large files
by Loops (Curate) on Aug 06, 2013 at 02:20 UTC | |
|
Re: Parsing large files
by nevdka (Pilgrim) on Aug 06, 2013 at 01:42 UTC | |
|
Re: Parsing large files
by Anonymous Monk on Aug 06, 2013 at 01:14 UTC | |
|
Re: Parsing large files
by locked_user sundialsvc4 (Abbot) on Aug 06, 2013 at 14:27 UTC |