[PD-dev] worth to create external?

IOhannes m zmoelnig zmoelnig at iem.at
Tue Mar 16 14:01:47 CET 2010

On 2010-03-16 12:07, Lorenzo wrote:
> Ok, but what I mean is also if there's some rule of thumb? My impression

well, it really all depends on your skills in patching and C-coding (or
python, lua, ...)

anyhow, i would say that you should go for the abstraction
implementation, unless it is either not possible at all to do what you
want as an abstraction, OR you really need to few extra percent of CPU.

and probably one more reason: if you know that you can implement the
entire thing in C within 5 minutes and it will take 3 days to do the
patching, i would go for the eternal.

if you are unsure, chances are high that it is possible to do it both as
abstraction and external and the few extra percent won't matter.
go for the abstraction then.

> for example is that significant changes are only when dealing with
> signals or arrays (unless you're doing some really heavy heavy maths)?
> Also, which would me a good method for measuring?

hmm, the only comparable "numbers" i can think of, are performance
create 1000 instances of one implementation and compare it to 1000
instances of another implementation in terms of CPU consumption.
of course this only works after you have done both implementations.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20100316/bff4d0ba/attachment.bin>

More information about the Pd-dev mailing list