Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Re: A (memory) poor man's hash lookup table.

by BrowserUk (Pope)
on Dec 03, 2003 at 00:21 UTC ( #311793=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    tie my %hash, 'Tie::CompactHash', 'A0 A4 A*';
  2. or download this
    tie my %hash, 'Tie::CompactHash', 'A0 A2 A*';
  3. or download this
    tie my %logs, 'Tie::CompactHash', 'A3 xx A4 A2 A*';
  4. or download this
    sub EXISTS {
        my( $pre, $key, $post ) = unpack $mask{ $_[SELF] }, $_[KEY];
            defined $_[SELF]{ $key }
                and $_[SELF]{ $key }[ 0 ] =~ m[(...\c@)\Q$post\E\xff]s;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://311793]
[stevieb]: 16.96 hours of runtime of a Raspberry Pi on a 12v, 7.2Ah battery :) Now to watch now long it takes to recharge the battery completely with my 18v solar cells in the sun :)
[stevieb]: my high-range estimate was 18 hours

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2017-03-26 15:18 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (315 votes). Check out past polls.