ReadOnlySpan optimizations
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user