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

Re: Repetitive File I/O vs. Memory Caching

by crabbdean (Pilgrim)
on Mar 28, 2004 at 05:33 UTC ( #340348=note: print w/replies, xml ) Need Help??

in reply to Repetitive File I/O vs. Memory Caching

I don't know a whole heap about the comparative differences between file IO's and caching but my first thought on reading this was to test it. That is, write another small script that loops to simulate a million hits, one version run against caching the other against IO's and then use the "times" method in perl to get an idea of time usage for the process.

Update: I should add that I'd suspect caching would be faster.

The Funkster of Mirth
Programming these days takes more than a lone avenger with a compiler. - sam
RFC1149: A Standard for the Transmission of IP Datagrams on Avian Carriers
  • Comment on Re: Repetitive File I/O vs. Memory Caching

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2018-05-27 16:42 GMT
Find Nodes?
    Voting Booth?