Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Challenge: Sorting Sums Of Sorted Series

by kennethk (Abbot)
on Feb 03, 2010 at 16:23 UTC ( [id://821205]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    use warnings;
    ...
            $min = $nextmin;
        }
    }
    
  2. or download this
    Benchmark: timing 100 iterations of Baseline, Integers, LR_1, LR_2, Qu
    +eue, blokhead...
      Baseline: 0.554613 wallclock secs ( 0.54 usr +  0.01 sys =  0.55 CPU
    +) @ 181.82/s (n=100)
                (warning: too few iterations for a reliable count)
    ...
    LR_1     5.33/s     409%     271%      72%       --     -86%     -97%
    Queue    39.2/s    3650%    2635%    1169%     636%       --     -78%
    Baseline  182/s   17287%   12578%    5785%    3313%     364%       --
    
  3. or download this
    Benchmark: timing 100000 iterations of Baseline, Integers, LR_1, LR_2,
    + Queue, blokhead...
      Baseline: 1.62766 wallclock secs ( 1.63 usr +  0.00 sys =  1.63 CPU)
    + @ 61349.69/s (n=100000)
      Integers: 7.29155 wallclock secs ( 7.28 usr +  0.01 sys =  7.29 CPU)
    + @ 13717.42/s (n=100000)
    ...
    LR_1     14245/s      41%      11%       4%       --     -49%     -77%
    Queue    27778/s     175%     117%     103%      95%       --     -55%
    Baseline 61350/s     507%     379%     347%     331%     121%       --
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-25 07:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found