Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stats: use fast-float to convert string to float #1191

Merged
merged 2 commits into from
Aug 5, 2023

Conversation

jqnatividad
Copy link
Collaborator

which is markedly faster than Rust core's string to float conversion, even if the fast-float algorithm was adapted in core.

see /~https://github.com/aldanor/fast-float-rust#benchmarks,
pola-rs/polars#7492 and
https://arxiv.org/abs/2101.11408

…ter than std's parse

Even Polars started using it, even if fast-float's algorithm was adapted into core.

stand-alone fast-float crate was still faster

see pola-rs/polars#7492
@jqnatividad jqnatividad merged commit a63d151 into master Aug 5, 2023
@jqnatividad jqnatividad deleted the stats_fast-float branch August 16, 2023 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant