Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 cooling their heels in the Monastery: (7)
As of 2014-08-21 12:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (135 votes), past polls