perf: Cache Rust `Regex`es (#69585)
### What? Use `Lazy<Regex>` instead of `Regex` if the pattern is known. ### Why? It's way more efficient. ### How?
Showing
Please
register
or
sign in
to comment
### What? Use `Lazy<Regex>` instead of `Regex` if the pattern is known. ### Why? It's way more efficient. ### How?