[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: [PATCH] Konqueror adblock
From:       Leo Savernik <l.savernik () aon ! at>
Date:       2005-04-27 14:11:38
Message-ID: 200504271611.39129.l.savernik () aon ! at
[Download RAW message or body]

Am Dienstag, 26. April 2005 23:06 schrieb Ivor Hewitt:
> Basically I hold a list of url regexes that are then checked against
> requests for external scripts or images in kdelibs/khtml/misc/loader.cpp.

This solution is slow. Hence I request you inflict a small speedup by 
precompiling the regexps and store them in the khtml_settings instead of 
recompile them from scratch every time in the comparsion loop.

Luckily, if you don't define any regexps, the loading speed is nearly 
undiminished. So this patch is acceptable from the khtml side.

Please apply said optimisation and post the revised patch to this list.

mfg
	Leo


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic