New benchmarks added. Tiny optimization

This commit is contained in:
mlemanczyk committed 2025-10-12 21:17:21 +02:00
1 parent 8c0320d837
commit fcfb6f6434
3 files changed
+81 -2

No files matched your search

+2 -2
View File
@@ -67,7 +67,7 @@ public struct MutableUInt128
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void Add(in MutableUInt128 value)
public void Add(MutableUInt128 value)
{
ulong temp = Low + value.Low;
Low = temp;
@@ -89,7 +89,7 @@ public struct MutableUInt128
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void Sub(in MutableUInt128 value)
public void Sub(MutableUInt128 value)
{
ulong low = Low;
ulong result = low - value.Low;