Browse Source

Increase max values per switch section

pull/1258/head
Chicken-Bones 8 years ago
parent
commit
9f21e6a2b2
  1. 2
      ICSharpCode.Decompiler/IL/ControlFlow/SwitchDetection.cs

2
ICSharpCode.Decompiler/IL/ControlFlow/SwitchDetection.cs

@ -170,7 +170,7 @@ namespace ICSharpCode.Decompiler.IL.ControlFlow @@ -170,7 +170,7 @@ namespace ICSharpCode.Decompiler.IL.ControlFlow
}
}
const ulong MaxValuesPerSection = 50;
const ulong MaxValuesPerSection = 100;
/// <summary>
/// Tests whether we should prefer a switch statement over an if statement.

Loading…
Cancel
Save