Szerző: Ralf Junker Dátum: Címzett: pcre-dev Tárgy: Re: [pcre-dev] Internal errors and crashes with quantified
subroutines
On 22.11.2011 17:54, Philip Hazel wrote:
>> To accommodate changes in LINK_SIZE, would it be reasonable to
>> redefine COMPILE_WORK_SIZE like this:
>>
>> #define COMPILE_WORK_SIZE (4096 / 2 * LINK_SIZE)
>
> That would only raise the maximum number of forward references from
> around 1500 in the LINK_SIZE=3 case to around 2000, the same as the
> LINK_SIZE=2 case.
This was exactly my intention. Right now the max number of forward
references shrinks with increasing LINK_SIZE. This change would keep it
identical for all LINK_SIZE.