Levente Uzonyi <le...@...> writes:

> > It's a hack, I took it from SortedCollection's quicksort implementation. 
> > This
> > gives the best performance if you're sorting by <= which is the default.

Shouldn't `sort` do what `sort: nil` does?

A simple `aBlock ifNil: [ ^self sort ]` might be more intention revealing (of
 course assumed that `sort` implements a #<= based sort :)

--AA  



_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to