On Dec 28, 2009, at 2:52 PM, Alexandre Bergel wrote:
I discovered an opportunity to gain many % when
rendering nodes.
what is the idea?
in general
Each time you translate a node, you need to update the size of the canvas. Updating the
canvas takes a bit of time (O(n^2)).
When you do a layout, each node is translated by the algorithm.
The idea is to update the canvas after having done the complete layout.
I see.
What you call the size of the canvas is the entity containing all the entity?
The top level entity?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev