Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Best way to sum an array?

by karlgoethebier (Abbot)
on May 24, 2017 at 15:14 UTC ( #1191097=note: print w/replies, xml ) Need Help??


in reply to Best way to sum an array?

How do I measure?

«The Crux of the Biscuit is the Apostrophe»

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

Replies are listed 'Best First'.
Re^2: Best way to sum an array?
by Anonymous Monk on May 24, 2017 at 15:43 UTC
    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

      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://1191097]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2022-05-16 15:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (63 votes). Check out past polls.

    Notices?