Interesting. At best agressive inlining had zero effect and may have slowed things down slightly

This commit is contained in:
Adrian Conlon committed 2026-03-27 18:15:02 +00:00
1 parent 290f7583c5
commit c587da19c4
1 file changed
-3
-3
View File
@@ -4,7 +4,6 @@
namespace EightBit
{
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[StructLayout(LayoutKind.Explicit, Size = 2)]
@@ -99,14 +98,12 @@ namespace EightBit
this.High = from.High;
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public Register16 Increment()
{
++this.Word;
return this;
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public Register16 Decrement()
{
--this.Word;