Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge adblock engines #5461

Closed
antonok-edm opened this issue Jul 30, 2019 · 1 comment · Fixed by brave/brave-core#16340
Closed

Merge adblock engines #5461

antonok-edm opened this issue Jul 30, 2019 · 1 comment · Fixed by brave/brave-core#16340
Assignees
Labels
dev-concern feature/shields/adblock Blocking ads & trackers with Shields feature/shields The overall Shields feature in Brave. OS/Android Fixes related to Android browser functionality OS/Desktop perf QA/No release-notes/exclude

Comments

@antonok-edm
Copy link
Collaborator

antonok-edm commented Jul 30, 2019

Brave creates at least two separate instances of the adblock-rs adblocking engine, separately managing base rules (e.g. easylist, easyprivacy), custom user-added rules, and an additional engine for each regional list or subscription list.

Separate instances cannot benefit from the performance optimizations of adblock-rs; each engine must be checked serially for matches or exceptions and the results must be combined afterwards.

The three different adblock service managers were implemented separately to allow for independent state management. This functionality will need to effectively be moved into adblock-rs.

@iefremov
Copy link
Contributor

cc @atuchin-m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev-concern feature/shields/adblock Blocking ads & trackers with Shields feature/shields The overall Shields feature in Brave. OS/Android Fixes related to Android browser functionality OS/Desktop perf QA/No release-notes/exclude
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants