Hi Christophe, On Mon, Nov 23, 2015 at 9:12 PM, Christophe JAILLET <christophe.jail...@wanadoo.fr> wrote: > > I tried to do some but the benefit of the optimized version is not that > clear, at least on my system: > gcc 5.2.1 > Linux linux 4.2.0-18-generic #22-Ubuntu SMP Fri Nov 6 18:25:50 UTC 2015 > x86_64 x86_64 x86_64 GNU/Linux
Unfortunately, gcc 5.2.1 (i.e. latest compilers' versions) are not widely used... Did you try a code like ap_proxy_port_of_scheme() with values which are unknown schemes? Or even worse cases, with similarly chained strcasecmp() looking for eg. "httpx" in something like {"httpa", "httpb", "httpc", ..., "httpw"}? Regards, Yann.