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

Re: Why is my program so slow even though I've used hashes?

by Marshall (Canon)
on May 28, 2009 at 19:54 UTC ( [id://766736]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    die "some usage error msg" if (@ARGV !=2);
    my ($domFile,$csafile)= @ARGV; 
    ...
        my ($pdb,$chain,$res) = (split(/,/, $_))[0,3,4];
        push (@{$csa_hash{"$pdb;$chain"}},$res}); 
    }
    
  2. or download this
    while ((my $key, my $value) = each(%csa_hash))
    {....}
    
  3. or download this
    if("$domchain" eq "$pdbchain"){....}
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-03-29 08:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found