AdBlock cleanup

Review Request #100683 - Created Feb. 19, 2011 and submitted

Information
Andrea Diamantini
rekonq
master
248045, 253329, 265909
Reviewers
rekonq
poulain
AdBlock clean up.
With this patch we explicitely allow any option that has not been (yet) fully implemented.

  
Benjamin Poulain
Andrea Diamantini
Andrea Diamantini
Benjamin Poulain
Andrea Diamantini
Review request changed

Change Summary:

This new patch implements a null rule to match all unimplemented filters.

Just for the records, we have this way implemented 3 different kind of rules:
- Text: 1753 filters matched,
- Fallback: 1305 filters,
- Null: 1154 filters.
So, this implementation saves sizeof(QString)*1154 bytes. It is anyway a bit more heavy on startup, having the extra null check added. Not so easy to measure how much heavier..  ;)

Diff:

Revision 4 (+232 -2)

Show changes

Loading...