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

chore: implement ParseDouble using fast_float #1920

Merged
merged 1 commit into from Sep 24, 2023
Merged

chore: implement ParseDouble using fast_float #1920

merged 1 commit into from Sep 24, 2023

Conversation

romange
Copy link
Collaborator

@romange romange commented Sep 23, 2023

Integrate a wonderful library fast_float by Daniel Lemire. It achieves x2 improvement on x86_64:

BM_ParseFastFloat         663 ns          663 ns      1049085
BM_ParseDoubleAbsl       1358 ns         1358 ns       523853

on c6g:

BM_ParseFastFloat        2207 ns         2207 ns       317968
BM_ParseDoubleAbsl       5028 ns         5028 ns       139341

Integrate a wonderful library fast_float by Daniel Lemire.
It achieves x2 improvement on x86_64:

BM_ParseFastFloat         663 ns          663 ns      1049085
BM_ParseDoubleAbsl       1358 ns         1358 ns       523853

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
@romange romange merged commit 80767c3 into main Sep 24, 2023
10 checks passed
@romange romange deleted the ParseDouble branch September 24, 2023 06:20
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.

None yet

2 participants