summaryrefslogtreecommitdiff
path: root/UPGRADING.INTERNALS
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2015-04-11 09:48:09 +0800
committerXinchen Hui <laruence@php.net>2015-04-11 09:48:09 +0800
commit45c3112726d96aa341f4fd4047add78d7d8e1a92 (patch)
treefc097252b6fe707f6514d82670fce3068fd3b3e7 /UPGRADING.INTERNALS
parent5e8133f4537fa303acee0240fd245d2303eb972d (diff)
downloadphp-git-45c3112726d96aa341f4fd4047add78d7d8e1a92.tar.gz
Add some missed entry
Diffstat (limited to 'UPGRADING.INTERNALS')
-rw-r--r--UPGRADING.INTERNALS6
1 files changed, 6 insertions, 0 deletions
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