Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Which code executes faster

by davido (Cardinal)
on Jul 31, 2006 at 06:16 UTC ( [id://564688]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
         And_pos  => sub { my $n = 0; $n < 1 and return 1;      },
    #    And_neg  => sub { my $n = 1; $n < 1 and return 1;      },
    } );
    
  2. or download this
                  Rate  And_pos  Std_pos Rflx_pos
    And_pos  4338935/s       --      -4%      -5%
    Std_pos  4504851/s       4%       --      -2%
    Rflx_pos 4574559/s       5%       2%       --
    
  3. or download this
                  Rate  And_neg Rflx_neg  Std_neg
    And_neg  5286632/s       --      -2%     -14%
    Rflx_neg 5401907/s       2%       --     -12%
    Std_neg  6149593/s      16%      14%       --
    
  4. or download this
                  Rate  Std_pos Rflx_pos  And_pos Rflx_neg  And_neg  Std_n
    +eg
    Std_pos  4254827/s       --      -3%      -3%     -15%     -21%     -2
    +2%
    Rflx_pos 4368927/s       3%       --      -0%     -13%     -19%     -2
    +0%
    ...
    Rflx_neg 5023657/s      18%      15%      15%       --      -7%      -
    +8%
    And_neg  5386758/s      27%      23%      23%       7%       --      -
    +2%
    Std_neg  5486976/s      29%      26%      25%       9%       2%       
    +--
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-20 10:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found