|
|
| more useful options | |
| PerlMonks |
Re: Speed up hash initialization loopby Anonymous Monk |
| on Jan 29, 2013 at 20:27 UTC ( #1015928=note: print w/ replies, xml ) | Need Help?? |
|
How much time is spent building those hashes, and how much time is spent on disk IO? I also see a lot of stars in your regexes (at least they're not deathstars .*). I'm sure they're not all needed. For example, in: if(/(.{1,8})\S*:\S*/){ the last \S* accomplishes nothing since it isn't captured.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||