refactored SearchExpression
This commit is contained in:
@@ -18,7 +18,7 @@ public static class Mispairing
|
||||
{
|
||||
var result = new Dictionary<string, long>();
|
||||
using var stream = new MemoryStream(pdx, false);
|
||||
var root = new SaveParserEU4(stream, SearchExpressionCompiler.Compile(BenchData.PdxQuery)).Parse();
|
||||
var root = new SaveParserEU4(stream, new SearchExpressionCompilation(BenchData.PdxQuery)).Parse();
|
||||
foreach (var (tag, value) in (Dictionary<string, object>)root["countries"])
|
||||
{
|
||||
if (value is Dictionary<string, object> c
|
||||
|
||||
Reference in New Issue
Block a user