[EMAIL PROTECTED] schrieb:
Hi Peter,
peterhi <[EMAIL PROTECTED]> wrote on 03/27/2007 10:57:34 AM:
What are the do's and don'ts to ensure that updating the graphics by
manipulating the DOM can be as fast as possible. All advices are
welcome.
Aside from the requirement that all changes be made in the
UpdateManager's
thread, there are some things that can be done that may help in some
cases.
1) If you will be making lots of changes to a subtree/element it can be
faster
to disconnect the tree from the document before making the changes. This
avoids the overhead of keeping the GVT tree in synch with every change
(think about a rect where you might set up to 6 attributes to change the
rect; x, y, width, height, rx, ry). For simple changes it is better
to do it in place (if you just change fill color for example).
Hi,
this sounds quite interesting for me, too. I would like to know how to
'disconnect' a GVT tree from the document, as I have to do a lot of
changes at different positions in one update step. At the moment, the
performance per step seems to be rather bad (appr. 150ms).
Thanks and best regards,
Steffen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]