Rust Internals
Could `unlikely` and `likely` be stabilized in `std::hint`?
libs
system
Closed
September 30, 2019, 10:34pm
10
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
Pre-RFC: Stabilization of `likely(bool)`, `unlikely(bool)` & `assume(bool)` intrinsics
show post in topic
Related topics
Topic
Replies
Views
Activity
Pre-RFC: Stabilization of `likely(bool)`, `unlikely(bool)` & `assume(bool)` intrinsics
libs
45
2426
December 4, 2023
Likely/unlikely hint on refutable patterns
4
2081
March 25, 2019
Providing the compiler with semantic reasoning in code path
language design
7
344
October 8, 2025
Performance assertions
libs
9
1260
July 21, 2019
Pre-RFC: branch optimization for panicking paths
compiler
7
1217
March 25, 2019