|
|
| more useful options | |
| PerlMonks |
Re^4: Performance Trap - Opening/Closing Files Inside a Loopby Limbic~Region (Chancellor) |
| on Dec 09, 2004 at 22:32 UTC ( [id://413744]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
kvale,
I expect a single hash lookup to be much faster than a pair of system calls for opening and closing files I don't want to sound like I am beating a dead horse here, but that sounds identical to my solution except your way seems like it would be slower because instead of figuring it out as you go, you are processing the files twice. Cheers - L~R
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||