14 lines
328 B
C#
Executable File
14 lines
328 B
C#
Executable File
using System.Runtime.CompilerServices;
|
|
|
|
namespace JCIL.Core;
|
|
|
|
public static class ILHelpers
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]
|
|
public static int LCmp(long a, long b)
|
|
{
|
|
if (a > b) return 1;
|
|
if (a < b) return -1;
|
|
return 0;
|
|
}
|
|
} |