Re: [PHP-DEV] [RFC] Make sorting stable

2020-05-12 Thread Sebastian Bergmann
Am 12.05.2020 um 16:39 schrieb Nikita Popov: I'd prefer to avoid an extra option. PHP is a high-level language, and the user should not have to concern themselves with sort stability considerations. +1 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.ph

Re: [PHP-DEV] [RFC] Make sorting stable

2020-05-12 Thread Nikita Popov
On Tue, May 12, 2020 at 4:29 PM Nicolas Grekas wrote: > Hi Nikita, > > Thanks for another nice RFC. > > This was previously discussed in https://externals.io/message/108841, but >> I >> figured it would make sense to create an RFC for this change: >> https://wiki.php.net/rfc/stable_sorting >> >>

Re: [PHP-DEV] [RFC] Make sorting stable

2020-05-12 Thread Nicolas Grekas
Hi Nikita, Thanks for another nice RFC. This was previously discussed in https://externals.io/message/108841, but I > figured it would make sense to create an RFC for this change: > https://wiki.php.net/rfc/stable_sorting > > As before, the implementation approach is to stick with the existing qs

[PHP-DEV] [RFC] Make sorting stable

2020-05-12 Thread Nikita Popov
Hi internals, This was previously discussed in https://externals.io/message/108841, but I figured it would make sense to create an RFC for this change: https://wiki.php.net/rfc/stable_sorting As before, the implementation approach is to stick with the existing qsort and use a fallback comparison