Use lazy_static
or once_cell
for compiled regexes #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently for each filter a regex is compiled no matter if a regex was already compiled. With
lazy_static
oronce_cell
it should be possible to keep the compiled regexes available.The commit
b8f114900b
makes this irrelevant.