Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Best way to sum an array?

by Anonymous Monk
on May 24, 2017 at 15:43 UTC ( [id://1191100]=note: print w/replies, xml ) Need Help??


in reply to Re: Best way to sum an array?
in thread Best way to sum an array?

Nice. This gets me the following chart, but I'm not sure I understand what it means.
         Rate   Evl   Rcs   Itr                                                                                                                                                
Evl  115745/s    --  -84%  -93%                                                                                                                                                
Rcs  729138/s  530%    --  -55%                                                                                                                                                
Itr 1612898/s 1293%  121%    --

I think that means the Itr version is an order of magnitude (16x) better than the Rcs version, right? And that the Rcs version is 7 times better than the Evl version. If so, then the answer is clear.
merci

Replies are listed 'Best First'.
Re^3: Best way to sum an array?
by karlgoethebier (Abbot) on May 24, 2017 at 15:48 UTC

    Left column sorted from slow to fast. It shows the number of iterations.

    «The Crux of the Biscuit is the Apostrophe»

    Furthermore I consider that Donald Trump must be impeached as soon as possible

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1191100]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-03-29 06:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found