Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

(bbfu) (DATA is file IO) Re: Why re-reading DATA is slow

by bbfu (Curate)
on Nov 04, 2001 at 04:34 UTC ( [id://123118]=note: print w/replies, xml ) Need Help??


in reply to Why re-reading DATA is slow

Not 100% on this one but I'm pretty sure that the DATA handle is not actually buffered in memory but the handle is just automagically already opened and pointing at the correct place in the source file. Otherwise, if you had a large amount of data in the DATA section, it would require a lot of memory up front for your program.

bbfu
Seasons don't fear The Reaper.
Nor do the wind, the sun, and the rain.
We can be like they are.

  • Comment on (bbfu) (DATA is file IO) Re: Why re-reading DATA is slow

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-20 00:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found