Unsafe rust for optimization purposes #66
Replies: 2 comments
-
This is a big old If you are going to accept PRs with The risk/reward for performance reasons is probably not worth it unless you have a team that is very well versed in safety invariants (and breaking them with unsound code). |
Beta Was this translation helpful? Give feedback.
-
So we had a discussion about the use of unsafe for optimization purposes, specifically related to PR #22. After some debate, we've decided that for now, the policy will be to avoid using unsafe for optimization unless it's necessary to fix reproducible slowdowns. Of course, we're always open to further discussion on this topic if anyone has thoughts or concerns they'd like to share. Thanks for bringing it up! |
Beta Was this translation helpful? Give feedback.
-
This discussion is to discuss the use of unsafe for optimization purposes. This issue was brought up with PR #22.
For the time being, we have decided in this meeting that the policy would be to not use unsafe for optimization purposes unless it fixes reprocible slow downs. However, we would love to continue to discuss this issue further.
Beta Was this translation helpful? Give feedback.
All reactions