Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: Optimizing existing Perl code (in practise)

by RMGir (Prior)
on Aug 20, 2002 at 12:18 UTC ( #191442=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
                 'direct'   => sub {direct(1,2,3,4,5,6);},
             }
         );
    
  2. or download this
    $ perl testSubs.pl
    Benchmark: running assigner, direct, shifter, each for at least 2 CPU 
    +seconds...
    ...
    shifter  294563/s       --     -23%     -53%
    assigner 384577/s      31%       --     -39%
    direct   629222/s     114%      64%       --
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2019-06-19 09:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Is there a future for codeless software?



    Results (87 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!