-
Notifications
You must be signed in to change notification settings - Fork 86
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
core::
SIMD primitives not inlined with stable Rust (1.51.0) with target-cpu=native
#189
Comments
core::
primitives not inlined with stable Rust (1.51.0)core::
SIMD primitives not inlined with stable Rust (1.51.0)
Ahh, that is a known issue which was fixed during the beta but not backported to 1.51.0. Urgh. Not sure if we want to do something in the docs about this given that this is what is recommended in the README. Leaving open for triage. |
core::
SIMD primitives not inlined with stable Rust (1.51.0)core::
SIMD primitives not inlined with stable Rust (1.51.0) with target-cpu=native
This is a really great find! Perhaps we should change the REAME to suggest using |
Rust 1.52 is scheduled to be released in two days and I have verified that it is fixed in that version. So I think we can get away with not changing the docs and just closing this after a while as this bug really only affects Rust 1.51. |
Confirmed fixed in 1.52 and not the fault of simd-json anyway. |
Thank you! |
I don't know why, but for some reason the SIMD core primitives are not being inlined if I build simd-json with stable Rust. It works fine with nightly (2021-04-23) though.
Stable:
Nightly:
This leads to much worse performance on stable.
Benchmarks
Stable:
Nightly:
The text was updated successfully, but these errors were encountered: