You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: add UseAnchoredLiteral case to FindIndices* methods (#110)
FindIndices*, FindIndicesAt*, and findIndicesAtWithState were
missing the UseAnchoredLiteral strategy case, causing patterns
like ^/.*[\w-]+\.php$ to fall through to slow NFA path.
Regression: 0.01ms -> 408ms (40,000x slower)
Fix: 408ms -> 0.5ms (back to O(1) anchored literal matching)
Fixes#107
0 commit comments