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

Magical optimizations from @aqrit #28

Merged
merged 7 commits into from
Nov 23, 2020
Merged

Magical optimizations from @aqrit #28

merged 7 commits into from
Nov 23, 2020

Conversation

lemire
Copy link
Member

@lemire lemire commented Nov 10, 2020

These need to be assessed, they may not translate into better performance in practice. But, at least on x64, they may help.

Relates to https://github.com/lemire/fast_float/issues/32

credit: @aqrit

@lemire
Copy link
Member Author

lemire commented Nov 23, 2020

It seems to save about one instruction per float getting parse, which is negligible... but there is a 2% improvement to the throughput which is appreciable.

@lemire lemire merged commit caade69 into main Nov 23, 2020
@lemire lemire deleted the dlemire/aqrit_magic branch July 7, 2021 19:38
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