Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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]
NodeReaper says "Shhhh! Be vewy vewy quiet, I'm hunting wumpus"

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2017-09-26 22:44 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (299 votes). Check out past polls.