Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: does perl cache between invocations?

by shenme (Priest)
on Jul 15, 2006 at 22:46 UTC ( #561501=note: print w/replies, xml ) Need Help??

in reply to does perl cache between invocations?

Looking at my WinXP "task manager" display, I see that "System Cache" is currently 465MB. Now the OS uses that to hold many different things, but also recently read disk data. The question becomes not how many files, but how much space they total together.

If I wanted to read the same 200MB of file data again and again, I (likely) would not see the disk light flash because all the data would fit and still be present in the cache memory. If I needed to repeatedly process 500MB of file data, I likely would find other things to do while the disk light flashed for many minutes, _each_ time, because all the data could not fit in cache and _must_ be re-read each time.

  • Comment on Re: does perl cache between invocations?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://561501]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2018-04-23 17:47 GMT
Find Nodes?
    Voting Booth?