diff options
author | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-08-19 02:26:40 +0200 |
---|---|---|
committer | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-08-19 03:18:29 +0200 |
commit | a4631fb9ec2541f99e1aba05cf1e7d2b5ebecb98 (patch) | |
tree | 2db557fe27ed8589eb0937755cf9bbe69dc1b1e5 /scripts | |
parent | Improve the performance of AdBlockRuleTextMatchImpl (diff) | |
download | rekonq-a4631fb9ec2541f99e1aba05cf1e7d2b5ebecb98.tar.xz |
Add a special matcher for ad block filters for host name
Quite a few rules of ad block are just matching domains. Those
are of the form:
||trolltech.com^$options
This patch add a new class to deal with this kind of filter,
AdBlockHostMatcher. Matching a host address is much faster (O(1))
than going through the entire list of rules.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions