[pcre-dev] [Bug 2555] Slowdown in 16/32 bit compiling

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 2555] Slowdown in 16/32 bit compiling
https://bugs.exim.org/show_bug.cgi?id=2555

Zoltan Herczeg <hzmester@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hzmester@???


--- Comment #1 from Zoltan Herczeg <hzmester@???> ---
Compilation error: probably invalid utf8 code, but it is invalid on 16/32 bit
mode.

JIT: simplified pattern with the same issue: /(?0){23456}/utf

Currently 23456 OP_RECURSE opcodes are generated and compiled 23456*2 times
(one for the normal and another for the recursive code path). This is a
somewhat complex opcode, and takes time to compile. I don't think such pattern
is used frequently in practice, so I would not do anything with it for now. I
could add a repeat detection (similar to brackets) if needed.

--
You are receiving this mail because:
You are on the CC list for the bug.