andrei Tue Dec 16 17:14:56 2003 EDT
Modified files: (Branch: PHP_4_3)
/php-src NEWS
/php-src/ext/pcre config.m4
Log:
Umm, let's not enable NO_RECURSE by default. The matches on some
patterns can be more than twice as slow as before.
# Maybe we should add a --disable-pcre-stack-recursion compile option
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.506 php-src/NEWS:1.1247.2.507
--- php-src/NEWS:1.1247.2.506 Tue Dec 16 16:52:11 2003
+++ php-src/NEWS Tue Dec 16 17:14:54 2003
@@ -1,9 +1,7 @@
PHP 4 NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 2003, Version 4.3.5
-- Upgraded PCRE library to version 4.5. The bundled version now comes with
- non-recursive matching functions which should help with some regular
- expressions that ran into the stack limit. (Andrei)
+- Upgraded PCRE library to version 4.5. (Andrei)
- Updated bundled PostgreSQL library to version 7.4 in Windows distribution.
(Edin)
- Added support for --program-prefix and --program-suffix configure options.
Index: php-src/ext/pcre/config.m4
diff -u php-src/ext/pcre/config.m4:1.29.2.4 php-src/ext/pcre/config.m4:1.29.2.5
--- php-src/ext/pcre/config.m4:1.29.2.4 Tue Dec 16 16:52:12 2003
+++ php-src/ext/pcre/config.m4 Tue Dec 16 17:14:55 2003
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.29.2.4 2003/12/16 21:52:12 andrei Exp $
+dnl $Id: config.m4,v 1.29.2.5 2003/12/16 22:14:55 andrei Exp $
dnl
dnl By default we'll compile and link against the bundled PCRE library
@@ -50,7 +50,7 @@
AC_DEFINE(HAVE_PCRE, 1, [ ])
PHP_ADD_INCLUDE($PCRE_INCDIR)
- PHP_NEW_EXTENSION(pcre, php_pcre.c, $ext_shared,,-DSUPPORT_UTF8 -DLINK_SIZE=2
-DPOSIX_MALLOC_THRESHOLD=10 -DNO_RECURSE)
+ PHP_NEW_EXTENSION(pcre, php_pcre.c, $ext_shared,,-DSUPPORT_UTF8 -DLINK_SIZE=2
-DPOSIX_MALLOC_THRESHOLD=10)
fi
PHP_SUBST(PCRE_SHARED_LIBADD)
fi
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php