[PD] array copy speed test

Enrique Erne pd at mild.ch
Mon Jul 31 09:05:22 CEST 2006


> 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
>

hi hc

added zexy/tabdump and zexy/tabset to copy the array, but it arraycopy 
is much faster.

if i have methods to do the same thing i use [realtime] and run a 
little competition.

on ppc-osx (1.33ghz) the winner is :
1. maxlib/arraycopy : 43.692ms
2. zexy/tabdump & zexy/tabset : 187.834ms
3. pd internals 4293.64ms

:-)

c.u eni


-------------- next part --------------
A non-text attachment was scrubbed...
Name: array-copy-speed-test2.pd
Type: application/octet-stream
Size: 1942 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20060731/d7874bbf/attachment.obj>


More information about the Pd-list mailing list