make nfaExecCastle0_QR() more efficent

1. Reverse scan for the last escape and only process later events.
2. Only scheck subcastles which may expire for staleness
This commit is contained in:
Alex Coyte
2015-12-02 15:49:49 +11:00
committed by Matthew Barr
parent b9c5d65f0e
commit e065c4d60b
6 changed files with 229 additions and 109 deletions

View File

@@ -100,6 +100,7 @@ void nfaExecCastle0_dumpText(const struct NFA *nfa, FILE *f) {
fprintf(f, "unknown type %u\n", c->type);
break;
}
fprintf(f, "Stale Iter Offset: %u\n", c->staleIterOffset);
fprintf(f, "\n");
dumpTextReverse(nfa, f);