faster-cpython / ideas

1.68k stars 48 forks source link

Substitute `dtoa.c` with something better #556

Closed lpereira closed 1 year ago

lpereira commented 1 year ago

While David M. Gay's dtoa.c has been around for decades and kind of became a standard library in so many software packages, there are better implementations out there that outperform it by a order of magnitude. For instance, the one described in this paper by Daniel Lemire, is one such library; this implementation has been adopted by the likes of WebKit, Go, and other projects/language runtimes.

lorinder commented 1 year ago

This is potentially a duplicate of this one: https://github.com/faster-cpython/ideas/issues/475

lpereira commented 1 year ago

Closing as duplicate.