Ok, cool. We should port this as an alternate implementation PR on Github. I think it's worth trying to backport stuff like this and stay more in sync, when possible. Thanks for posting :)
Dan Wilcox danomatika.com robotcowboy.com
On Apr 17, 2018, at 2:48 PM, Jonathan Wilkes jancsika@yahoo.com wrote:
On Tuesday, April 17, 2018, 8:10:47 AM EDT, Dan Wilcox danomatika@gmail.com wrote:
Is this compatible with https://github.com/pure-data/pure-data/pull/347/files? Are there pros/cons between the implementations?
This implementation doesn't require a change to binbuf_eval's interface. It also caches a glist instead of the dollarzero value. That seems a little cleaner since glist is public data and dollarzero isn't.
Performance looks ok to me.
-Jonathan