I gave up on optimizing the read for knucleotides, but I did greatly
improve the sort. It's only used twice, but added a fair number of
lines just to get it in there, so it's more readability than anything
else. The bottleneck is reading in the file. Anyway, attached are
fasta.pir and knucleotide.pir. The fasta.pir requires the
random_lib.pir file. <
http://shootout.alioth.debian.org/faq.php#split>
specifies how to handle programs with multiple files for their
benchmarking. Currently, the seperate file is the simplest and neatest
method, even if it is split across multiple files.
knucleotide.pir
Description: Binary data
fasta.pir
Description: Binary data