mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-16 17:31:51 +03:00
Don't use depth for in-flight check
This commit is contained in:
committed by
Matthew Barr
parent
3d87e382fa
commit
14f18bd6e8
@@ -502,7 +502,7 @@ void roseStreamExec(const struct RoseEngine *t, u8 *state,
|
||||
|
||||
const struct HWLM *ftable = getFLiteralMatcher(t);
|
||||
if (ftable) {
|
||||
if (t->noFloatingRoots && tctxt->depth == 1) {
|
||||
if (t->noFloatingRoots && !roseHasInFlightMatches(t, state, scratch)) {
|
||||
DEBUG_PRINTF("skip FLOATING: no inflight matches\n");
|
||||
goto flush_delay_and_exit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user