Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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: (7)
As of 2014-09-03 05:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (35 votes), past polls