Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: fast bit twiddling

by Zaxo (Archbishop)
on May 02, 2004 at 05:51 UTC ( [id://349761]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    {
        vec(my $str, 2, 1) = 1;
        vec($str, 5, 1) = 1;
    ...
            $str & $foo == $str;
        }
    }
    
  2. or download this
    {
        vec(my $str, 2, 1) = 1;
        vec($str, 5, 1) = 1;
    ...
            not ($foo & $str) ^ ($bar & $str);
        }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-03-29 08:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found