Think about Loose Coupling | |
PerlMonks |
Re: Fastest I/O possible?by mordibity (Acolyte) |
on Aug 23, 2002 at 14:38 UTC ( [id://192342]=note: print w/replies, xml ) | Need Help?? |
Well, this is pretty miniscule, but you did ask -- you could initialize vars outside of your loop (especially for @fields) to avoid destroying/creating a new variable each time; also, I think handling split() a fixed string '|' instead of a regex might be optimized further:
In Section
Seekers of Perl Wisdom
|
|