[PD] [PD-dev] extremely fast pure pd [list-drip] (fwd)

Mathieu Bouchard matju at artengine.ca
Thu Feb 26 16:46:05 CET 2009


On Thu, 26 Feb 2009, Frank Barknecht wrote:

> I took the version without the message box optimization

Well, I think that the switch from a O(n^2) abstraction to any of the O(n) 
abstractions is such a great improvement, that there is not so much need 
for more.

But basically, all further optimisations replace the right-hand part of 
the patch by a special-case dripper that only work on small list sizes.

> for now to keep it a little bit compatible with older Pds that don't 
> have settable sends - though I fear, a missing [list length] breaks it 
> on older Pds anyway. I could have added [list-len] instead but that 
> probably eats up all speed gains.

Well, what do you want to do without [list length]? I say kill all the old 
versions of Pd. If you don't know what to do or if life seems too easy, 
support old versions of Pd, back to 0.35. But there's a limit to 
self-inflicted torture.

Pd is already limited enough by what you can use in recursive patches... 
cold inlets unusable, so, have to use [list length] twice... can't 
reasonably pass a list and something else in the same message either, 
because it would requiring copying the said list. no nested lists of any 
kind.

Instead of always looking after Pd 0.39, Why not look after Pd 0.43 ? I 
think that the explanation for why [list-drip-quick] is the way it is, 
should serve as an example of things that could be changed in Vanilla or 
added to Vanilla... as long as you consider Vanilla to be the reference.

> The message box version is in my 43 folders to be added sometime later.
> I added the EOL-outlet of the original list-drip and a bit more air
> around the objects so they don't overlap with font size 10.

I use font size 10 and they don't overlap and never have.

> Additionally I added a [list-rdrip] for reverse serialization that uses 
> the same approach, but with just one center-splitter. May come in handy 
> sometimes.

Well, in any case where the highest speed is appreciated and order is not 
important, reverse dripping is faster than forward dripping, with today's 
pd.

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec


More information about the Pd-list mailing list