[PD] Re: new pmpd developer

Thomas Grill gr at grrrr.org
Thu Mar 17 00:06:14 CET 2005


Hi all,
now i had a look into pmpd - it's a shame i didn't do earlier, and it's 
great!
It would be good to do some optimization though - only by recompiling 
the Windows dll with some different flags and changing a bit of 
suboptimal code the demo-patches were up to 3 times faster than before.

- in many methods in the source gensym calls are used, although they 
generate the same symbols at every call - it would be good to generate 
these symbols in the setup functions and cache them for use by outlet* 
calls.
- pow(f,2) is used instead of f*f
- reference expressions are often repeated verbatim, although they could 
be replaced by a pointer
- the makefile in the src directory has no optimization flags at all for 
msvc++.  It should have /Ox  /G7 or similar, depending on the cpu

best greetings,
Thomas





More information about the Pd-list mailing list