Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^5: Data structures benchmark(pack vs. arrays vs. hashes vs. strings)

by BrowserUk (Patriarch)
on Dec 10, 2011 at 01:41 UTC ( [id://942760]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    (call_time=1000) + (allocate_names=150) + (copy_values=250) + (extra_b
    +it_a=15) 
    
    versus
    
    (call_time=1000) + (allocate_names=150) + (copy_values=250) + (the_ext
    +ra_bit=5)
    
  2. or download this
    sub process {
        my( $AoA,  $thingToProcess ) = @_;
    ...
    ...
    
    process( $AoA, 123 );
    
  3. or download this
    ## Use meaningful names obviously!!
    use constant { 
    ...
    }    
    
    process( $AoA[ $thingToProcess ] );
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-19 18:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found