Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2015-11-29 23:39 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (754 votes), past polls