[squid-dev] [PATCH] Rework acl/RegexData optimization to use SBufList

Alex Rousskov rousskov at measurement-factory.com
Mon Nov 14 05:36:42 UTC 2016


On 11/13/2016 10:15 PM, Amos Jeffries wrote:

> I think we should accumulate into two SBufList instead, one for -i and
> one for +i instead of switching back and forth with potentially lots of
> little patterns.

Would not forcing regexes into two different groups change the regex
evaluation order and, hence, make it more difficult for some admins to
optimize their regexes by placing frequently matching regexes earlier?

I am still not quite sure what problem we are trying to solve exactly
here, but allowing admins to control exact regex evaluation order seems
important [for some admins].

Alex.



More information about the squid-dev mailing list