[PD-dev] [ pure-data-Patches-1948146 ] array: move instead of redraw graphics

SourceForge.net noreply at sourceforge.net
Fri Jul 30 04:42:53 CEST 2010


Patches item #1948146, was opened at 2008-04-21 14:15
Message generated for change (Comment added) made by eighthave
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1948146&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: feature
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jakob Leben (jleben)
Assigned to: Nobody/Anonymous (nobody)
Summary: array: move instead of redraw graphics

Initial Comment:
This is a patch that fixes slow ("sticky") displacing of arrays by moving instead of recreating their graphics.

It also fixes the problem of array name not appearing immediately after its creation as it was necessary now that arrays don't recreate but only move all that belongs to their appearance when displaced.

----------------------------------------------------------------------

>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2010-07-29 22:42

Message:
array moves should really use the tcl 'move' command.  It will greatly
speed things up, IMHO.  Right now, changes in arrays can generate up to 1
megabyte of Tcl code per second for the GUI to execute.  Using a move
command, we should be able to get that down to a much smaller amount, I
think three or four orders of magnitude is feasible.

That said, I have not tested this patch.

----------------------------------------------------------------------

Comment By: Miller Puckette (millerpuckette)
Date: 2010-07-28 20:41

Message:
Interesting idea - I wonder though if it would be simpler and more
maintainable to use some sort of throttling instead.  Array moves are
definitely ugly now.

----------------------------------------------------------------------

Comment By: Hans-Christoph Steiner (eighthave)
Date: 2008-04-24 15:56

Message:
Logged In: YES 
user_id=27104
Originator: NO

see patches 1943614 and 1943301 for a history of this patch

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1948146&group_id=55736



More information about the Pd-dev mailing list