mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-10-24 14:05:42 +00:00
Interesting. At best agressive inlining had zero effect and may have slowed things down slightly
This commit is contained in:
1 parent
290f7583c5
commit
c587da19c4
1 file changed
-3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user