Actions
Optimization #2302
closedrule parsing: faster parsing by not using pcre
Description
Regular expressions are generally not the best idea for parsers. But moving away from regexp's to tokenizing the strings we should be able to provide more context around a parse error in the rule, as well as speed up rule parsing. Initial tests showed a 2x speed up on modern Intel CPUs, and 5x or more on older Intel CPUs.
Updated by Jason Ish about 7 years ago
Closing. Merged here: https://github.com/OISF/suricata/pull/3022
Actions