refactored SearchExpression
This commit is contained in:
@@ -18,7 +18,7 @@ public class ExtractionBenchmarks
|
||||
private byte[] _pdx = null!;
|
||||
private string _pdxText = null!;
|
||||
private byte[] _json = null!;
|
||||
private ISearchExpression _query = null!;
|
||||
private SearchExpressionCompilation _query = null!;
|
||||
|
||||
private Regex _technologyBlock = null!;
|
||||
private Regex _pathAwareCompiled = null!;
|
||||
@@ -32,7 +32,7 @@ public class ExtractionBenchmarks
|
||||
_pdx = BenchData.PdxBytes;
|
||||
_pdxText = BenchData.PdxText;
|
||||
_json = File.ReadAllBytes(BenchData.JsonPath);
|
||||
_query = SearchExpressionCompiler.Compile(BenchData.PdxQuery);
|
||||
_query = new SearchExpressionCompilation(BenchData.PdxQuery);
|
||||
|
||||
_technologyBlock = new Regex(Extractors.TechnologyBlockPattern, RegexOptions.Compiled);
|
||||
_pathAwareCompiled = new Regex(Extractors.PathAwarePattern, RegexOptions.Compiled);
|
||||
|
||||
Reference in New Issue
Block a user