Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Ref to hash entries are faster?

by Wiggins (Hermit)
on Nov 29, 2006 at 19:53 UTC ( [id://586809]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
          ELEMENT:
            foreach $key (keys %Contracts) 
    ...
                  next ELEMENT if ($Contracts{$key}[STATE] eq $ST_REPORTED
    +); 
                  $elapsed_time = time() - $Contracts{$key}[START];
                  .... lots more accesses to the  $Contracts{$key} record.
    
  2. or download this
         ELEMENT:
            foreach $key (keys %Contracts) 
    ...
                  $elapsed_time = time() - $Cntrct_ref[START];
    
                  ...
    

Log In?
Username:
Password:

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

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

      No recent polls found