3 ms·
> Faster, more correct float parsing > The standard library's implementation of float parsing has been updated to use the Eisel-Lemire algorithm, which brings
by Twirrim 5y ago
> Faster, more correct float parsing
> The standard library's implementation of float parsing has been updated to use the Eisel-Lemire algorithm, which brings both speed improvements and improved correctness. In the past, certain edge cases failed to parse, and this has now been fixed.
> You can read more details on the new implementation in the pull request description: https://github.com/rust-lang/rust/pull/86761 https://github.com/rust-lang/rust/pull/86761
There's some pretty big speed improvements there. 3x-10x in the most normal cases, 1600x on some edge cases, and stdlib is now capable of parsing the floats that it never used to be able to.