Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Efficient bit-twiddling in Perl.

by Tux (Monsignor)
on Mar 01, 2013 at 14:16 UTC ( #1021270=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/pro/bin/perl -slw
    
    ...
    
        return ($top14, $nxt6, $mid6, $bot6);
        }
    
  2. or download this
    and_rshift:    2147883105 => 8193 : 33 : 33 : 33
    lshift_rshift: 2147883105 => 8193 : 33 : 33 : 33
    ...
    mixed_assign  434/s        75%         72%           --        -9%    
    +      -16%
    and_rshift    480/s        94%         90%          10%         --    
    +       -8%
    lshift_rshift 520/s       110%        106%          20%         8%    
    +        --
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2014-10-21 06:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (97 votes), past polls