On 2015-10-26 07:32, Zoltán Herczeg wrote:
>It's very bad news for me.
>Yesterday I test my patterns (each have around 1,5-2M size) and find
that >JIT don't work with all of they.
>Unfortunately this patterns can't be splitted due to it's automatically
>construction.
>Is there way to grow this 64K stack size or another way to use JIT?
Well, you can change the following constant in sljitLir.h:
However, very large values may not work on all supported CPUs. So try
bigger values (e.g. 512K) and see what happens. I never tested bigger
values.
Regards,
Zoltan
Thanks a lot. It works with 512K on my x86.
May be it can be useful to automatically set SLJIT_MAX_LOCAL_SIZE
according with link-size?
For example: 64K for link=size=2, 128 or 256K - for 3, 256 or 512K - for
link-size=4?
Best regards,
ND
--
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev