regex: tweak DFA settings

This increases the limits a bit for when the regex engine will build and
use a fully compiled DFA. They can faster in some circumstances. For
example, '(?-u)^\w{30,}$' gets a nice speed boost from state
acceleration.

We are also able to remove `regex` proper as a dependency. Wow.
This commit is contained in:
Andrew Gallant
2023-06-20 08:09:23 -04:00
parent 81341702af
commit 04dde9a4eb
3 changed files with 10 additions and 3 deletions

1
Cargo.lock generated
View File

@@ -200,7 +200,6 @@ dependencies = [
"bstr",
"grep-matcher",
"log",
"regex",
"regex-automata 0.3.0",
"regex-syntax",
]