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

Re^3: Is undef list assignment a no-op?

by Tux (Canon)
on Mar 25, 2011 at 12:58 UTC ( [id://895474]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use Benchmark qw(cmpthese);
    ...
        "skp" => q[ sub{ my $x = $_[1]         }->($a1, $b1) ],
        "var" => q[ sub{ my ($unused, $x) = @_;}->($a1, $b1) ],
        };
    
  2. or download this
             Rate  var  und  skp
    var 1694915/s   -- -27% -41%
    und 2325581/s  37%   -- -19%
    skp 2857143/s  69%  23%   --
    
  3. or download this
    === base/perl5.00307    5.00307  i686-linux
    Missing $ on loop variable at /media/Tux/perls/lib/strict.pm line 90.
    ...
    var 2380952/s   -- -18% -30%
    und 2898551/s  22%   -- -14%
    skp 3389831/s  42%  17%   --
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-25 12:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found