e86e0b6a33d8d64cd0424cb3299b2b280b84b169
* harbour/src/3rd/pcre/Makefile
* disabled JIT support in default builds.
It fixes build process for platforms which do not support MT mode
like some old Linux distors. I also made runtime tests with some
simple expressions and on x86 based CPUs the difference is really
minor. PCRE compiled with JIT is a little bit faster in regex
compilation (~5%) but slower in regex evaluation (10%).
AFAIR completely different results then suggested by documentation.
For tests I used rather simple expression on small data set:
cData := hb_TSToStr( hb_datetime() )
cExp := "[:]([a-zA-Z]|[0-9])[0-9][:]..[.]"
But such short expressions and data are quite common in real
programs.
If someone wants to enable JIT in his build then he can make it
using SUPPORT_JIT macro, i.e.:
export HB_USER_CFLAGS=-DSUPPORT_JIT
Description
Harbour Core — Reference source for Five development
Languages
C
80.3%
xBase
17.8%
Makefile
0.6%
C++
0.4%
Harbour
0.4%
Other
0.3%