[PD-dev] seeking advice on Pd gui overhaul

Ivica Ico Bukvic ico at vt.edu
Wed Feb 24 05:52:10 CET 2010


> The problem is that Tcl/Tk is not the bottleneck when it comes to array
> redrawing.  Its how pd sends draw commands.  Redrawing a big array
> once
> could result in literally 500KB of Tcl code generated by Pd and sent to
> the GUI.
> 
> So whether you use Tcl/Tk, Qt, JUCE, or whatever, you'll have to address
> that issue to get any real gain. I'd say the best place to start is try
> updating the array drawing code so that it just sends a simple command
> to Tcl and let's Tcl do the drawing work.  You could easily make that an
> external and use it with any version of Pd.
> 
> .hc

Interesting. Still, this does not resolve the issue of a large number box on the screen being updated rapidly taking up a lot of CPU (it scales exponentially with growing font size and in this case I suspect Pd's output is minimal, amounting to change in the displayed set of characters).

Ico





More information about the Pd-dev mailing list