Hi!

> I've made PR proposing a feature request: A new interface Sortable.
> 
> https://github.com/php/php-src/pull/1116
> 
> If possible, I would like to create and RFC describing this in more detail,
> and perhaps get a voting on.

Can't you sort any class that provides ordered list of elements and
Comparable or some kind of comparison callback by a generic algorithm?
Interface with 11 functions, all similar but slightly different, seems
unoptimal.

-- 
Stas Malyshev
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to