[issue41310] micro-optimization: increase our float parsing speed by Nx
Tim Peters
report at bugs.python.org
Thu Jul 16 16:38:02 EDT 2020
Tim Peters <tim at python.org> added the comment:
Gregory, care to take their code and time it against Python?
I'm not inclined to: reading the comments in the code, they're trying "fast paths" already described in papers by Clinger and - later - by Gay. When those fast paths don't apply, they fall back on the system `strtod`. But Python's current implementation builds on Gay's fastest code (and never falls back to the system).
It's possible they "improved" on Gay by building relatively giant tables of static data.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41310>
_______________________________________
More information about the Python-bugs-list
mailing list