mamarjan / gff3-pltools

A fast parallel GFF3 parser
MIT License
15 stars 5 forks source link

Improve validation speed #59

Closed mamarjan closed 12 years ago

mamarjan commented 12 years ago

From some experiments, when removing the tests which have to!int() and to!double() in them, the speed increases by a factor of 20 or more.

mamarjan commented 12 years ago

With the is_float() function, the validation for m_hapla runs 4 times faster.

mamarjan commented 12 years ago

Not the to!double() was the problem, but the exceptions raised by that function while parsing m_hapla.