Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Efficient bit-twiddling in Perl.

by Tux (Canon)
on Mar 01, 2013 at 14:16 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1021270]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-24 22:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found