From c587da19c46e08ef2f0ad9e8e260a57ab6b59767 Mon Sep 17 00:00:00 2001 From: Adrian Conlon Date: Fri, 27 Mar 2026 18:15:02 +0000 Subject: [PATCH] Interesting. At best agressive inlining had zero effect and may have slowed things down slightly --- EightBit/Register16.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/EightBit/Register16.cs b/EightBit/Register16.cs index c69e519..92ec474 100644 --- a/EightBit/Register16.cs +++ b/EightBit/Register16.cs @@ -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;