[PD] array copy speed test

Hans-Christoph Steiner hans at eds.org
Mon Jul 31 23:13:16 CEST 2006


On Jul 31, 2006, at 2:01 AM, Tim Blechmann wrote:

> hi hans,
>
> On Sun, 2006-07-30 at 23:23 -0400, Hans-Christoph Steiner 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?
>
> well, as pd is a purely interpreted language, i doubt that you can
> improve it without writing a compiler for pd patches ... and even
> then ... if you'll have overhead for stack management and message
> handling ...
> a pure c or even simd implementation will always be way faster ...

Anyone feel like SIMDifiying [arraycopy] (hint hint ;).  I suppose  
vasp is a SIMD version of [arraycopy].

.hc





More information about the Pd-list mailing list