Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Hashes and hash references

by pg (Canon)
on Sep 04, 2005 at 17:39 UTC ( [id://489062]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Benchmark qw (timethese);
    
    ...
            $hash->{$i} = $i;    
        }
    }
    
  2. or download this
    Benchmark: timing 10 iterations of reference, regular...
     reference:  8 wallclock secs ( 7.76 usr +  0.16 sys =  7.92 CPU) @  1
    +.26/s (n=1
    ...
    0)
       regular:  8 wallclock secs ( 7.23 usr +  0.08 sys =  7.31 CPU) @  1
    +.37/s (n=1
    0)
    
  3. or download this
    use Benchmark qw (timethese);
    
    ...
    sub helper {
        my $hash = shift;
    }
    
  4. or download this
    Benchmark: timing 10 iterations of reference, regular...
     reference:  8 wallclock secs ( 7.72 usr +  0.14 sys =  7.86 CPU) @  1
    +.27/s (n=1
    ...
    0)
       regular:  9 wallclock secs ( 7.95 usr +  0.06 sys =  8.02 CPU) @  1
    +.25/s (n=1
    0)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2024-04-25 00:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found