alloy::core

Module hint

source
Expand description

Hints that can be used to guide the compiler’s optimization decisions.

Functions§

  • A marker intrinsic that tells the compiler that the given condition is assumed to be true.
  • A marker intrinsic that tells the compiler that the slice will have a fixed size of N.
  • A marker intrinsic that tells the compiler to optimize the case where the given boolean is likely to be true.
  • A marker intrinsic that tells the compiler to optimize the case where the given boolean is unlikely to be true.
  • A marker intrinsic that tells the compiler that the branch this intrinsic is placed on is unlikely to be taken.