com php-src: Add some missed entry: NEWS UPGRADING.INTERNALS
| From: | Xinchen Hui | Date: | Sat, 11 Apr 2015 01:48:09 +0000 |
| Subject: | com php-src: Add some missed entry: NEWS UPGRADING.INTERNALS | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86159@lists.php.net to get a copy of this message | ||
Commit: 45c3112726d96aa341f4fd4047add78d7d8e1a92
Author: Xinchen Hui <laruence@php.net> Sat, 11 Apr 2015 09:48:09 +0800
Parents: 5e8133f4537fa303acee0240fd245d2303eb972d
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=45c3112726d96aa341f4fd4047add78d7d8e1a92
Log:
Add some missed entry
Changed paths:
M NEWS
M UPGRADING.INTERNALS
Diff:
diff --git a/NEWS b/NEWS
index fc8cf35..e3559c2 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,7 @@
. Improved __call() and __callStatic() magic method handling.. Now they are
called in a stackless way using ZEND_CALL_TRAMPOLINE opcode, without
additional stack frame. (Laruence, Dmitry)
+ . Optimized strings concatenation. (Dmitry, Laruence)
. Fixed weird operators behavior. Division by zero now emits warning and
returns +/-INF, modulo by zero and intdid() throws an exception, shifts
by negative offset throw exceptions. Compile-time evaluation of division
@@ -67,6 +68,8 @@
. Added error_clear_last() function. (Reeze Xia)
. Fixed bug #68797 (Number 2.2250738585072012e-308 converted incorrectly).
(Anatol)
+ . Added hybrid sorting algo zend_sort for better performance. (Laruence)
+ . Added stable sorting algo zend_insert_sort. (Laruence)
. Implemented the RFC
Scalar Type Decalarations v0.5. (Anthony)
. Implemented the RFC Group Use Declarations. (Marcio)
. Implemented the RFC Continue Output Buffering. (Mike)
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS
index d4c1150..632c87e 100644
--- a/UPGRADING..INTERNALS
+++ b/UPGRADING.INTERNALS
@@ -195,6 +195,12 @@ PHP 7.0 INTERNALS UPGRADE NOTES
as first argument, if you still need to fetch a resource from zval, use
zend_fetch_resource_ex. More details can be found in Zend/zend_list.c.
+ t. Optimized strings concatenation.
+ ZEND_ADD_STRING/VAR/CHAR are replaced with ZEND_ROPE_INTI, ZEND_ROPE_ADD,
+ ZEND_ROPE_END.
+ Instead of reallocation and copying string on each ZEND_ADD_STRING/VAR/CAHR,
+ collect all the strings and then alloca te and construct the resulting string once.
+
========================
2. Build system changes