3 ms·
Here's a more recent blog post: [1] and a published paper on arxiv: [2], describing the latest version of the algorithm which is implemented in fast_float C++ l
by aldanor 6y ago
Here's a more recent blog post: [1] and a published paper on arxiv: [2], describing the latest version of the algorithm which is implemented in fast_float C++ library [3].
Coincidentally, I've participated in this as well recently by implementing the algorithm in Rust (fast-float crate, see [4] for the source and benchmarks). It is insanely fast (easily over 1GB/s on an m1 machine) and beats all of the existing float parsers I'm aware of by a large margin, at least on the datasets we've tested it on.
[1] https://lemire.me/blog/2021/01/29/number-parsing-at-a-gigabyte-per-second/ https://lemire.me/blog/2021/01/29/number-parsing-at-a-gigaby...
[2] https://arxiv.org/pdf/2101.11408.pdf https://arxiv.org/pdf/2101.11408.pdf
[3] https://github.com/fastfloat/fast_float https://github.com/fastfloat/fast_float
[4] https://github.com/aldanor/fast-float-rust/ https://github.com/aldanor/fast-float-rust/