2012-06-18 15:32 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* 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
This commit is contained in:
@@ -16,6 +16,24 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2012-06-18 15:32 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* 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
|
||||
|
||||
2012-06-18 12:49 UTC+0200 Viktor Szakats (harbour syenar.net)
|
||||
* utils/hbmk2/hbmk2.prg
|
||||
* made --hbinfo to return information only for the top project
|
||||
|
||||
@@ -48,13 +48,9 @@ ifneq ($(HB_HAS_PCRE_LOCAL),)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(filter $(HB_COMPILER),mingw mingw64 msvc mvc64),)
|
||||
HB_CFLAGS += -DSUPPORT_JIT
|
||||
else
|
||||
ifneq ($(filter $(HB_PLATFORM),darwin linux),)
|
||||
HB_CFLAGS += -DSUPPORT_JIT
|
||||
endif
|
||||
endif
|
||||
# ifneq ($(filter $(HB_COMPILER),mingw mingw64 msvc mvc64)$(filter $(HB_PLATFORM),darwin linux),)
|
||||
# HB_CFLAGS += -DSUPPORT_JIT
|
||||
# endif
|
||||
|
||||
HB_CFLAGS += -DHAVE_CONFIG_H
|
||||
|
||||
|
||||
Reference in New Issue
Block a user