Hi

I just begin looking after point of optimisation into Roassal and I there are different points :

- firstly, it is not  easy to profile

- it seems that when we move the mouse on the visualisation then it draws everything each time we move the mouse.

And of course the biggest the visualisation is, the hottest the computer is to be.

So maybe we should either, only draw the visible things (we must know what is visible easily),

        or we should draw the whole visualisation as a picture (bitmap or svg ) in a buffer and then just navigate in it, and keeping a list of visible things (not to be drawn but to be checked for interactions).

 

I think the picture is a good solution (maybe not a perfect one) since refreshing a picture is fine easier than redrawing the whole visualisation.

And we should only draw changing elements with another color when dragging them.

 

What do you think about that ??

 

Regards

Mathieu