Page 1 of 1
ABP Syntax: Wildcard at the end?
Posted: Tue Feb 14, 2017 11:51 am
by huuurz
Hi!
What's the difference between
and
The first one (without the wildcard) is flagged as slow filter by a snail, the second one not.
Thanks,
huuurz
Re: ABP Syntax: Wildcard at the end?
Posted: Tue Feb 14, 2017 12:31 pm
by smed79
Hi,
no difference but
/_banners/
with the
snail icon is slow than
/_banners/*
Not so slow but the wildcard
*
make it more efficient.
Re: ABP Syntax: Wildcard at the end?
Posted: Tue Feb 14, 2017 12:46 pm
by huuurz
Yeah that is the strange thing.... although it is the (exact?) same rule, one time it is predicted to be fast, one time slow. Doesn't make sense to me. Maybe an internal technical thing?
Is the one with wildcard really faster? I mean it could just be a bug with the snail shown or not shown. Don't know how to test it.
But actually now that I know the rule is
always add a (unnecessary) wildcard at the end, it doesn't really matter anymore. I will use wildcards at the end in cases like this.
Re: ABP Syntax: Wildcard at the end?
Posted: Tue Feb 14, 2017 2:01 pm
by intense
The filter without the wildcard is interpreted as
regex filter, so will be slower
Re: ABP Syntax: Wildcard at the end?
Posted: Tue Feb 14, 2017 4:10 pm
by huuurz
@intense
Thank you, that was the answer I was searching for!