a question about the filter matching algorithm

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
Mrc

a question about the filter matching algorithm

Post by Mrc »

With the current algorithm ABP uses for filter matching, which of the following filters faster?

|http:*/ad.
or simply
/ad.

Because of the "http" keyword, the first one doesn't get the snail mark that shows up when the fiilter is slow.
However, "http" can be found in almost every URl, which makes the filter work in almost the same way as the second filter "/ad.".

My guess is, the second one is a tiny bit faster because ABP knows it doesn't have to check it for kewords and shifts right into the trivial algorithm.
I can't tell for sure, though.

Any opinion?
Locked