namespace Unity.Burst.CompilerServices
{
///
/// Compile-time hint intrinsics.
///
public static class Hint
{
///
/// Hints to the compiler that the condition is likely to be true.
///
/// The boolean condition that is likely to be true.
/// The condition.
public static bool Likely(bool condition) => condition;
///
/// Hints to the compiler that the condition is unlikely to be true.
///
/// The boolean condition that is unlikely to be true.
/// The condition.
public static bool Unlikely(bool condition) => condition;
///
/// Hints to the compiler that the condition can be assumed to be true.
///
/// The boolean condition that can be assumed to be true.
public static void Assume(bool condition) { }
}
}