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

RFC extending Benchmark.pm to facilitate CODEHASHREF

by LanX (Canon)
on Nov 25, 2013 at 22:30 UTC ( #1064322=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    sub name1 { 
    ...
            'name2' => \&name2,
         }
    )
    
  2. or download this
    {
      package CMP;
    ...
    }
    
    cmpthese (-5, pckg_subs("CMP") )
    
  3. or download this
    use strict;
    use warnings;
    ...
      }
      return $codehashref; 
    }
    
  4. or download this
    /usr/bin/perl -w /tmp/diff.pl 
    hash_grep:    *CMP::hash_grep
    ...
    hash_values_diff 148869/s        568%               --          -31%  
    +      -40%
    hash_key_diff    215078/s        866%              44%            --  
    +      -13%
    hash_grep        247455/s       1011%              66%           15%  
    +        --
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://1064322]
Approved by Arunbear
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (12)
As of 2014-08-29 14:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (280 votes), past polls