summaryrefslogtreecommitdiff
path: root/UPGRADING.INTERNALS
diff options
context:
space:
mode:
authorChristoph M. Becker <cmb@php.net>2015-08-18 13:44:14 +0200
committerChristoph M. Becker <cmb@php.net>2015-08-18 13:44:14 +0200
commit1b5e87a579080da1452e173981b7d8a6814f15c0 (patch)
tree8e0bdda339242780b63a16cfbecccffdd987b37a /UPGRADING.INTERNALS
parent22eaa995ee62ba6332a82d4754a179b6be847fe9 (diff)
downloadphp-git-1b5e87a579080da1452e173981b7d8a6814f15c0.tar.gz
Fix #70289: Different sort in php7 (and hhvm) compared to php5
We add a respective note to UPGRADING. Furthermore, as renaming of zend_qsort() and the new zend_insert_sort() are irrelevant for user-land, we move this info to UPGRADING.INTERNALS.
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 d5921ecf0f..384b71bdc2 100644
--- a/UPGRADING.INTERNALS
+++ b/UPGRADING.INTERNALS
@@ -19,6 +19,7 @@ PHP 7.0 INTERNALS UPGRADE NOTES
s. Resource API changes
t. Optimized strings concatenation.
u. Streams changes
+ v. Sort algorithm changes
2. Build system changes
a. Unix build system changes
@@ -240,6 +241,11 @@ changes. See: https://wiki.php.net/phpng-upgrading
using context stream option PHP_STREAM_OPTION_PIPE_BLOCKING or
adding STREAM_USE_BLOCKING_PIPE when opening the stream.
+ v. Sort algorithm changes
+ - Improved zend_qsort(using hybrid sorting algo) for better performance,
+ and also renamed zend_qsort to zend_sort.
+ - Added stable sorting algo zend_insert_sort.
+
========================
2. Build system changes
========================