Run-time list processing #115
Replies: 7 comments 7 replies
-
Improved algorithm:
Ciao, |
Beta Was this translation helpful? Give feedback.
-
Better still, since after the first pass of swaps the largest element is placed last, we can then perform the swaps on the first N-1 elements and so on:
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I just realised that what I implemented is the Bubble Sort algorithm, so I'd go with this, assuming N>=2:
|
Beta Was this translation helpful? Give feedback.
-
I suggest having the
|
Beta Was this translation helpful? Give feedback.
-
OK so I guess |
Beta Was this translation helpful? Give feedback.
-
OK let's go for routes.lib |
Beta Was this translation helpful? Give feedback.
-
Hello, people.
This came out during a conversation on Discord's #faust channel. Could some kind of run-time list processing be useful for the libraries? The following orders a set of parallel signals in ascending order. If so, I can do a PR.
Ciao,
Dario
Beta Was this translation helpful? Give feedback.
All reactions