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

SIMD acceleration for float/double[] #140

Merged
merged 2 commits into from
Dec 3, 2024
Merged

Conversation

pCYSl5EDgo
Copy link
Contributor

@pCYSl5EDgo pCYSl5EDgo commented Dec 3, 2024

float[] / double[] serialization is relatively easy because the ratio of output byte count by input byte count is always constant.

The const byte B = byte.MaxValue; and const byte F is introduced for the sake of the readability of very long constant binaries.

Prev: #114

Copy link
Owner

@AArnott AArnott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing! 👏

@AArnott AArnott added the enhancement New feature or request label Dec 3, 2024
@AArnott AArnott enabled auto-merge December 3, 2024 19:30
@AArnott AArnott merged commit 1736019 into AArnott:main Dec 3, 2024
2 checks passed
@pCYSl5EDgo pCYSl5EDgo deleted the hw-float32/64 branch December 3, 2024 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants