Closed michalmuskala closed 1 year ago
In my simple benchmarks for the float-heavy dataset Canada
the runtime goes from 14.87 ms (on par with jiffy
) and 33.59 MB memory use, to 7.81 ms (~2x faster than jiffy
) and 9.22 MB memory use.
Dear @michalmuskala Can I ask a question of this update?!
I am wondering why you did not write has_short_format
in a function? Or inside the float
function?
Thank you
❤️ 💛 💙 💚 💜 Wohoo! Thanks @michalmuskala
@shahryarjb Because outside of the function it is evaluated once at compile time and as such there is no performance cost to the check.
Closes #134