Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Ampersands and sub speed

by creamygoodness (Curate)
on Oct 14, 2005 at 23:01 UTC ( [id://500397]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    cmpthese( -1, {
        k1 => sub { $foo->do_nothing(1) },
    ...
        k4 => sub { do_nothing(1)       },      
        k5 => sub { &do_nothing(1)      },      
    });
    
  2. or download this
            Rate   k2   k1   k5   k3   k4
    k2 1380806/s   -- -14% -34% -35% -37%
    ...
    k5 2103412/s  52%  31%   --  -1%  -4%
    k3 2133262/s  54%  32%   1%   --  -2%
    k4 2181254/s  58%  35%   4%   2%   --
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2024-04-23 16:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found