From 1b5e87a579080da1452e173981b7d8a6814f15c0 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Tue, 18 Aug 2015 13:44:14 +0200 Subject: 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. --- UPGRADING.INTERNALS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'UPGRADING.INTERNALS') 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 ======================== -- cgit v1.2.1