cloudflare / cloudflare/wirefilter

Any method to combine multi filter into one to accelerate?

Open
#83 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.2k
Forks
122
Avg merge
5h 20m
Merged PRs (30d)
4

Description

Hello, I'm now writing a package filter demo using wirefilter master branch, with almost 10rules using regex.

I'm curious is there any method to accelerate the match process by combinng multi filter into one to accelerate the process, rather than compare each rule(filter) sequency?

Contributor guide

Open the contributing guide

Research direction

Start with the filter demo on the wirefilter master branch and reproduce the workload of roughly 10 regex rules. Compare sequential matching with a combined-filter approach, and treat measurable acceleration plus a documented API or limitation as done.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.