Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Perl's poor disk IO performanceby BrowserUk (Patriarch) |
on Apr 29, 2010 at 19:57 UTC ( [id://837646]=note: print w/replies, xml ) | Need Help?? |
Change open (FILE, "$path") to open (FILE, '<:raw', "$path"). On my system, with that change, your code reading 10MB, takes .38 seconds.
In Section
Seekers of Perl Wisdom
|
|