intel / intel/hyperscan

It spends too much time for that A large number of regular expressions are compiled

Open
#90 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5.5k
Forks
816
Avg merge
4d 21h
Merged PRs (30d)
2

Description

I have a issue when compile some uri regular expressions by hyperscan,it spend 6 minutes.
Those regular expressions features:
1.About 63000 regular expressions .
2.The length of each regular expression less than 100 bytes.
And the ‘flags’ parameter of function 'hs_compile_multi' is HS_FLAG_CASELESS|HS_FLAG_DOTALL|HS_FLAG_SOM_LEFTMOST.
There have some method to improve performance of compiling regular expression?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.