Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
We don't bite newbies here... much
 
PerlMonks  

Re^4: Dump, Dup or Copy an object

by turo (Friar)
on Feb 22, 2006 at 11:09 UTC ( [id://531998]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re^3: Dump, Dup or Copy an object
in thread Dump, Dup or Copy an object

on my machine, these are the results of the benchmarking:

Benchmark: timing 500000 iterations of Clone, Storable... Clone: 4 wallclock secs ( 3.27 usr + 0.00 sys = 3.27 CPU) @ 15 +2905.20/s (n=500000) Storable: 30 wallclock secs (29.52 usr + 0.01 sys = 29.53 CPU) @ 16 +931.93/s (n=500000)
(... is a Pentium 4, 3GHz (cache 2MB) and 1GB of RAM) ...

Seems that Storable is a little bit slowler than Clone. But, on the other hand, i didn't have to install it ... seems to be at the main perl distrib ...

perl -Te 'print map { chr((ord)-((10,20,2,7)[$i++])) } split //,"turo"'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://531998]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.