diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | UPGRADING.INTERNALS | 6 |
2 files changed, 9 insertions, 0 deletions
@@ -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 d4c1150d36..632c87e1c4 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 |