Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Fast seeking in a large array of hashes to generate a report.

by themage (Friar)
on Jun 23, 2005 at 11:34 UTC ( #469364=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    use strict;
    ...
            push @data, $rec;
    }
    
  2. or download this
    
    my @Fields=(
    ...
    my $person;
    my $i=0;
    
  3. or download this
    
    my $ta=time();
    ...
    
    my $tb=time();
    
  4. or download this
    
    my $use=1;
    ...
    }
    my $tc=time;
    
  5. or download this
    
    my $iab=$tb-$ta;
    ...
    print "TIMES:\nab: $iab\nbc: $ibc\n";
    print "COUNTS:\nab: ", $#Persons,"\nbc: ",$#Rset,"\n";
    
  6. or download this
    
    mpneves@voyager perl$ ./test.pl
    ...
    ab: 1213
    bc: 1213
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (17)
As of 2015-07-30 12:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls