[PD] switch16 abstraction

Frank Barknecht fbar at footils.org
Fri May 26 07:22:08 CEST 2006

David Powers hat gesagt: // David Powers wrote:

> The arrays may be unnecessary in one sense, and yet as someone with a little
> programming background, it's quicker for me to conceptualize a design that
> uses an array. If I went for Frank's approach I'm sure it would have taken
> me twice as long (but we know Frank is the guru when it comes to using
> lists!). I see how helpful lists are, but I haven't 100% internalized the
> list operations and all the list-abs that are available, as opposed to other
> PD objects.\

One should prefer your array-based solution over the list-based one
for speed reasons, if it matters. The list-based switch has to build
new lists everytime you change the setting, which is much slower than
writing a new value to an array and reading it out with tabdump.

 Frank Barknecht                 _ ______footils.org_ __goto10.org__

More information about the Pd-list mailing list