ReadOnlySpan optimizations

This commit is contained in:
Asriel Camora
2023-11-10 16:29:35 -08:00
parent 334810c11f
commit 3edb156d97
4 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ public struct ActionSet
{
private uint bits;
public static readonly ActionType[] AcceptedActions = new[]
internal static ReadOnlySpan<ActionType> AcceptedActions => new[]
{
ActionType.StandardTouchCombo,
ActionType.AdvancedTouchCombo,
+6
View File
@@ -20,6 +20,12 @@
<ProjectReference Include="..\Simulator\Craftimizer.Simulator.csproj" />
</ItemGroup>
<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
<_Parameter1>Craftimizer.Test</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
<PropertyGroup Condition="'$(IS_BENCH)'=='1'">
<DefineConstants>$(DefineConstants);IS_DETERMINISTIC</DefineConstants>
</PropertyGroup>