Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve the performance of AdBlockRuleTextMatchImpl | Benjamin Poulain | 2010-08-19 | 1 | -1/+1 |
| | | | | | | | | | | Comparing unicode string without case sensitive is rather expensive because each codepoint must be converted, which is non trivial for unicode. This patch introduce a new argument of ::match() taking the encoded url in lowercase. This way, the conversion can be done only once for a lot of rules. | ||||
* | Add a primitive text machter as an AdBlockRule implementations | Benjamin Poulain | 2010-08-18 | 1 | -0/+47 |
About 30% of the filter of easylist are just simple text matching. This new AdBlockRule implementation detects the simple occurences of this to match the url directly. On Qt 4.7, this reduce the time spend in AdBlock by around 20%. |