Project

General

Profile

Actions

Optimization #2302

closed

rule parsing: faster parsing by not using pcre

Added by Jason Ish almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

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.

Actions #2

Updated by Jason Ish almost 4 years ago

  • Status changed from Assigned to Closed
Actions

Also available in: Atom PDF