Hallo, Enrique Erne hat gesagt: // Enrique Erne wrote:
So I did a little speed test between C and Pd for doing an array-to-array copying. Pd didn't fair so well. Can anyone thing of a better algorithm for copying in Pd?
.hc
added zexy/tabdump and zexy/tabset to copy the array, but it arraycopy is much faster.
And I added an alternative version of writing values to an array inside Pd by just sending "index value(s)" lists to the array name.
Interestingly this is a little bit faster than using [tabwrite]. It maybe could be made even faster by writing more than one value in one go.
Frank Barknecht _ ______footils.org_ __goto10.org__