-
Notifications
You must be signed in to change notification settings - Fork 432
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
Investigate use of bytemuck #957
Comments
In some cases you can rely on the optimizer instead of third-party crates, see e.g. #963 |
I've listed some code that could benefit from this here. It seems pulling in |
Most unsafe code is removed in #1011. However, there is one use case remaining ( |
I'm not sure about that claim: I still count 11 uses of |
See also: #1180 (comment) |
We decided to go with zerocopy instead in #1349. |
The bytemuck crate may be able to replace some uses of
unsafe
in Rand crates; see this post. Investigate.Note however that even if it can, we may not wish to use it due to pressure to reduce dependencies.
The text was updated successfully, but these errors were encountered: