Am 21.01.10 09:57 schrieb "William Brent" unter william.brent@gmail.com:
But is there something in Pd-ext that does this? There must be, right? An external is waaaaaaaay faster for long arrays.
An external will always be faster. However, the patching method still can be optimized a lot. [list-tabdump] copies the same data back and forth and the number-of-elemts/cputime ratio is not linear, but something like 'exponential' (please someone put here the correct term). Attached is a benchmark patch, that compares [tabdump], [list-tabdump] and a patched vanilla version, that has a linear ratio, which makes it a lot faster than [list-tabdump], especially with big arrays (though it is still 10 times slower than [tabdump]).
Roman