[PD] get the values of an array as a list
Roman Haefeli
reduzierer at yahoo.de
Thu Jan 21 13:53:14 CET 2010
Am 21.01.10 09:57 schrieb "William Brent" unter <william.brent at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tabdump_benchmarks.pd
Type: application/octet-stream
Size: 31949 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100121/0d6158cb/attachment.obj>
More information about the Pd-list
mailing list