Removing this would probably help performance a bit as it is totally unnecessary:
Unless this is a mistake, either condition of the if test does the same thing.if(exists($edgeHash{$a})){ push @{$edgeHash{$a}}, $b; }else{ push @{$edgeHash{$a}}, $b; }
-----------------------------------
Frank Wiles <frank@wiles.org>
http://frank.wiles.org
In reply to Re: H of A optimization
by ides
in thread H of A optimization
by abitkin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |