more useful options | |
PerlMonks |
Re^2: A more efficient sort or heap algorithm...by bioinformatics (Friar) |
on Apr 28, 2009 at 22:35 UTC ( [id://760772]=note: print w/replies, xml ) | Need Help?? |
I'm still learning about efficiency (obviously), but the benefit of using the hand coded sort was to allow me to have two arrays sorted the same way (but based on the first, if that makes sense), with the second array containing a hash key leading to the data for the corresponding region. I wasn't sure how to implement that using the built in sort function. It allows me to keep track of and print out the information for both regions.
Bioinformatics
In Section
Seekers of Perl Wisdom
|
|