No such thing as a small change | |
PerlMonks |
Re: Optimise file line by line parsing, substitute SPLITby vsespb (Chaplain) |
on Jun 03, 2013 at 12:44 UTC ( [id://1036739]=note: print w/replies, xml ) | Need Help?? |
I had same problem. And I did not find any solution. One thing I can tell, if you later validate your records with regexps, it might be better replace split with regexp and combine with validation, because split is not much faster than regexps. (example of my format/code) Also, maybe unpack() sometimes faster than split?
In Section
Seekers of Perl Wisdom
|
|