summaryrefslogtreecommitdiff
path: root/src/adblock/adblockhostmatcher.h
Commit message (Collapse)AuthorAgeFilesLines
* Coding styleAndrea Diamantini2011-02-251-1/+4
|
* Finally found time to update copyrights... ;)Andrea Diamantini2011-02-241-1/+1
|
* Add a special matcher for ad block filters for host nameBenjamin Poulain2010-08-191-0/+51
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.