3 ms·
Here the specificity is it tries to match against multiple regex, in rust there is RegexSet from the regex engine, it performs a single pass, but I'm not sure i
by hokkos 7y ago
Here the specificity is it tries to match against multiple regex, in rust there is RegexSet from the regex engine, it performs a single pass, but I'm not sure it optimize a lot graph for matching. It seems HyperScan can do a lot of optimization by extracting commonalities between regexes.
https://docs.rs/regex/1.1.7/regex/struct.RegexSet.html https://docs.rs/regex/1.1.7/regex/struct.RegexSet.html
http://intel.github.io/hyperscan/dev-reference/intro.html#compilation http://intel.github.io/hyperscan/dev-reference/intro.html#co...