David Rosca
c2c49c6b13
AdBlock: Add support for rules with empty filter (match all)
2017-08-12 16:27:02 +02:00
David Rosca
24b6db866a
AdBlockSearchTree: Slightly more efficient traversal
...
Access hash only once for each char
2017-01-23 10:55:45 +01:00
David Rosca
e91d6482d1
Bring back AdBlock blocking network requests
2015-10-05 20:16:51 +02:00
nowrep
fe0b03fdb7
Include QDebug in qzcommon.h
...
It's annoying to always include it just to remove a moment after...
2014-03-16 13:22:41 +01:00
Jonathan Hooverman
d917f43cf0
Updated copyright year to 2014
2014-01-11 16:11:42 +01:00
nowrep
da15e5868d
[CodingStyle] Don't use references when assigning to local variable
...
Let the compiler do the optimization
2013-12-30 13:43:48 +01:00
nowrep
d73d4f7ad7
AdBlockSearchTree: Save few string allocations on searching
2013-11-03 14:49:58 +01:00
nowrep
511ef3c346
AdBlockSubscription: Don't allocate search tree on heap.
2013-11-03 14:29:23 +01:00
nowrep
c07e9cff3c
Typo s/childs/children
2013-11-03 14:22:27 +01:00
nowrep
3159407c18
AdBlock: Use fast search tree for basic rules
...
For all rules that can be matched with simple string-contains match,
use fast tree searching.
Only in EasyList, there is 6000 those rules.
It improves overall performance of AdBlock matching by 5 - 10 times,
at the cost of memory.
The tree needs about 1.5MB memory for 1000 rules, which is a great
tradeoff for such big performance improvement.
2013-11-02 17:43:18 +01:00