On Mar 13, 2004, at 1:09 PM, R. Joseph Newton wrote:

"West, William M" wrote:


by slurping the WHOLE file into memory at once (do you have room to but a 45
megabyte file into memory?) the speed of the processing went up-

Highly unlikely. There is no real speed advantage with Perl in slurping a
file.

Slurping certainly can be faster. I agree that it's not for everything, but it certainly has it's place.


There's and excellent article on perl.com about this:

http://www.perl.com/pub/a/2003/11/21/slurp.html

James


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to