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 (Patriarch)
on Nov 16, 2011 at 21:49 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://938470]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-25 15:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found