Skip to content

Commit 327cf28

Browse files
committed
Remove latent mention of reverse suffix literal optimization.
1 parent df4ce9f commit 327cf28

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

PERFORMANCE.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,6 @@ a few examples of regexes that get literal prefixes detected:
193193
* `a*b` detects `a` and `b`
194194
* `(ab){3,6}` detects `ababab`
195195

196-
Literals may also be used in other ways. For example, if a regex *ends* with a
197-
literal, then it may be possible to scan for that literal and search backwards
198-
from a match location using the DFA.
199-
200196
Literals in anchored regexes can also be used for detecting non-matches very
201197
quickly. For example, `^foo\w+` and `\w+foo$` may be able to detect a non-match
202198
just by examing the first (or last) three bytes of the haystack.

0 commit comments

Comments
 (0)