[PD] list-sort
Frank Barknecht
fbar at footils.org
Tue Dec 2 13:19:02 CET 2008
Hallo,
Frank Barknecht hat gesagt: // Frank Barknecht wrote:
> Attached is a slight change which includes reverse sorting and makes
> your list-sort compatible with the one by Jack.
Attached is another reworking: I got rid of one costly [list-drip] in
the loop by directly calculating the positions of min and max instead
of using list-find, and then I introduced a costly list-drip again
(but it's only called once) to remove non-floats. Should be a little
bit faster than the first version.
Ciao
--
Frank Barknecht Do You RjDj.me? _ ______footils.org__
-------------- next part --------------
A non-text attachment was scrubbed...
Name: list-sort-help.pd
Type: application/puredata
Size: 1121 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20081202/9b6da9ec/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: list-sort.pd
Type: application/puredata
Size: 4508 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20081202/9b6da9ec/attachment-0001.bin>
More information about the Pd-list
mailing list