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

Re^5: Unpacking and converting

by dwalin (Monk)
on Feb 16, 2011 at 14:01 UTC ( [id://888506]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    my @s = '0001' .. '1000';
    ...
        a => q[ my @a = @s; $_ += 0 for @a; ],
        b => q[ my @b = @s; my @new; push @new, $_ + 0 while defined( $_ =
    + shift @b ) ],
    };
    
  2. or download this
    
           Rate    c    a    b    d
    ...
    a 1941807/s 145%   --  -0% -60%
    b 1942492/s 145%   0%   -- -60%
    d 4812084/s 506% 148% 148%   --
    
  3. or download this
    my @s = '0000001' .. '1000000';
    
    ...
        a => q[ my @a = @s; $_ += 0 for @a; ],
        b => q[ my @b = @s; my @new; push @new, $_ + 0 while defined( $_ =
    + shift @b ) ],
    };
    
  4. or download this
           Rate    c    b    a    d
    c  764586/s   -- -58% -62% -85%
    b 1803742/s 136%   -- -10% -65%
    a 2007409/s 163%  11%   -- -61%
    d 5119310/s 570% 184% 155%   --
    

Log In?
Username:
Password:

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

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

    No recent polls found