On 08/25/2016 10:26 AM, Amos Jeffries wrote:
> About
> the only further optimization we can do there is make the
> "CharacterSet::SP" that it outputs in the sensitive path be a local
> static *within* DelimiterCharacters() itself and return a reference to
> that instead of constructing a new CharaterSet each time.

Which new CharaterSet are we constructing each time in this context?
CharacterSet::SP is already a static and it is not copied during each
DelimiterCharacters() call, right? SP might not be initialized, but I do
not see an _optimization_ opportunity here.


Cheers,

Alex.

_______________________________________________
squid-dev mailing list
squid-dev@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-dev

Reply via email to