Project

General

Profile

Actions

Optimization #1222

open

Boyer Moore content not shared between same content

Added by Ken Steele almost 10 years ago. Updated about 8 years ago.

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

Description

The Boyer Moore context and data could be shared for content that is identical, but in different rules. The only tricky part is the case/nocase for the match must also be the same. Currently, the case version is created when the content is parsed and then converted to nocase when the "nocase" keyword is parsed.

Sharing would save some memory and allow for better caching.

Actions

Also available in: Atom PDF