To be honest not huge improvement but relatively constant has it is
set once per regex compilation.

On Thu, 13 Aug 2020 at 17:54, Willy TARREAU <[email protected]> wrote:
>
> On Thu, Aug 13, 2020 at 05:30:49PM +0100, David CARLIER wrote:
> > In fact the jit match does less check than the normal match and fits
> > better when the regex code had been compiled with JIT. However the
> > classic match call still works with JIT only it does more checks.
>
> OK! did you observe any gain in doing so ? Because we're replacing a
> direct call with an indirect one. I know it's a detail, but if we're
> just replacing a few "if" inside pcre_match() with an indirect call,
> it might easily be on tie!
>
> Willy

Reply via email to