Le 2011-11-17 à 14:40:00, Jonathan Wilkes a écrit :
efficient but extremely weird and difficult to read (just have a look at the innards of [listabs/list-drip] for example).
BTW, the one nowadays in listabs is the simplest of the fast [list-drip] implementations. The faster ones are more complex, but they're all based on the one bundled in listabs.
None of them are nearly as fast as [foreach] though. The gap widened in GridFlow 9.13 and 9.14, when the C++-wrapper used by GridFlow became much more efficient. A plain C version of [foreach] might still be a tiny bit faster, but I don't know.
Yet it's better to have the core list classes plus a library of abstractions-- listabs-- that hides the ugliness necessary to get decent list processing to happen in Pd, than to not have the list classes at all.
It's always better to be in big trouble than in any trouble bigger than it.
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC