Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: In-place bitwise NOT?

by Perlbotics (Canon)
on Jul 26, 2013 at 18:02 UTC ( #1046576=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Inline C;
    use strict;
    ...
    
    }
     
    
  2. or download this
    void flipbits32(char* a, int len ) {
    
    ...
      }
    
    }
    
  3. or download this
                Rate      str   inline inline32
    str        69.1/s       --     -37%     -69%
    flipbits    110/s      59%       --     -51%
    flipbits32  223/s     222%     103%       --
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (20)
As of 2015-07-28 13:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (255 votes), past polls