On Thu, 26 Feb 2009, Martin Schied wrote:
I often used message boxes for list splitting in my current project because they were the fastest solution I could find using a benchmark of [t b b b] and [realtime].
I just made an alternate version of [list-drip-quick] that is faster than [list-drip-quicker] without even using [repeat], and the difference is that it uses a pile of messageboxes for anything smaller than 9 elements. I use [s] with two inlets to dispatch the message because any solution involving [spigot] would be much slower and cumbersome, and anything using [demux] would be using an external.
I made it after reading your mail but before looking at your patch, and it looks different from yours so I'm attaching it.
So, the score is (for a 32768-element list):
[list-drip] ~10000 ms [list-drip-quick] ~28.5 ms [list-drip-quicker] ~10.0 ms [list-drip-quick2] ~7.2 ms [list-drip-schied] ~6.0 ms [list-drip-schied2] ~5.1 ms [drip] ~1.1 ms
The [list-drip-schied2] is done by replacing the split32 by a single messagebox with commas in it.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec