Hi,
On Sun, Jun 12, 2011 at 10:32:27AM +0200, cyrille henry wrote:
there is a list-sort in footils list abstraction folder. and some list_quicksort where send to this list few years ago.
The rj library doesn't include a sorting abstraction, so indeed one should use abstractions from elsewhere like those from list-abs, which should be no problem as they are all compatible with the vanilla-- object set available in RjDj.
Another option would be sorting with data structures, which I usually do today. Attached is an example abstraction for data structure sorting (datasort.pd). It seems to be much faster than list-quicksort from list-abs (the currently fastest sorting in there), but only sorts in ascending order. See the bench.pd benchmark for a comparison.
You will probably want to modify datastort to suit your needs.
Frank Barknecht Do You RjDj.me? _ ______footils.org__