Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Efficient bit-twiddling in Perl.

by BrowserUk (Pope)
on Feb 28, 2013 at 17:28 UTC ( #1021080=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    unpack 'vccc', join'',map{ pack'b*', $_ } unpack 'a14a6a6a6', unpack '
    +B32', pack 'N', $n;
    
  2. or download this
    #! perl -slw
    use strict;
    ...
      Lookup2 took: 0.000000547556 seconds
    (un)pack  took: 0.000005933478 seconds
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2015-07-02 00:32 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 (25 votes), past polls