Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: What eats up less resources?

by trantor (Chaplain)
on Dec 11, 2001 at 18:47 UTC ( [id://130935]=note: print w/replies, xml ) Need Help??


in reply to What eats up less resources?

Try it yourself with benchmark :-)

Reading record by record is buffered anyway, so it is my opinion that, since your file grows in time, slurping it in a single read would use much more memory in the long run.

-- TMTOWTDI

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://130935]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-25 21:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found