regex ir opt code rewrite gen2, window scanning

This commit is contained in:
Youmu Liu
2026-06-26 18:41:50 +08:00
parent 5cd2b8b4ba
commit 13fcfe4a4c
3 changed files with 15 additions and 2 deletions
@@ -87,7 +87,7 @@ namespace StgSharp.RegularAnalysis.Text
break;
}
if (TryFlatternCount(opt_win_sp, opt_ir)) { }
if (TryFlattenCount(opt_win_sp, opt_ir)) { }
} while (false);
index += process_count;
@@ -150,7 +150,7 @@ namespace StgSharp.RegularAnalysis.Text
#endregion
private static bool TryFlatternCount(
private static bool TryFlattenCount(
Span<RegexIR> window,
List<RegexIR> opt
)