Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: "Just use a hash": An overworked mantra?

by BrowserUk (Pope)
on Nov 16, 2011 at 21:49 UTC ( #938470=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    XS(XS_main_rand_ranged_value)
    {
    ...
        }
        XSRETURN(1);
    }
    
  2. or download this
    #! perl -slw
    use strict;
    ...
            Rate  hash array
    hash  3.88/s    --  -38%
    array 6.23/s   61%    --
    
  3. or download this
    perl 
    -nlE"++$h{ $_ } }{ say qq[$_ : $h{ $_ }] for sort{ $a <=> $b } keys %h
    +" 
    < theBigFileOfInts
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2014-07-10 00:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (197 votes), past polls