Actions
Optimization #2302
closed
JI
JI
rule parsing: faster parsing by not using pcre
Optimization #2302:
rule 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.
JI Updated by Jason Ish over 8 years ago
Closing. Merged here: https://github.com/OISF/suricata/pull/3022
JI Updated by Jason Ish over 8 years ago
- Status changed from Assigned to Closed
Actions