We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/Amanieu/hashbrown/blob/63aa152cfd3b3690b69c3f8afd14f4904edb38cf/src/raw/mod.rs#L54-L56
(ctrl as i8) >= 0 might be faster because might benefit the sign bit already set (if LLVM doesn't perform this optimization automatically).
(ctrl as i8) >= 0
The text was updated successfully, but these errors were encountered:
LLVM seems to generate the same assembly code in both cases.
Sorry, something went wrong.
No branches or pull requests
https://github.com/Amanieu/hashbrown/blob/63aa152cfd3b3690b69c3f8afd14f4904edb38cf/src/raw/mod.rs#L54-L56
(ctrl as i8) >= 0
might be faster because might benefit the sign bit already set (if LLVM doesn't perform this optimization automatically).The text was updated successfully, but these errors were encountered: