When pondering about saving memory I was thinking that it would be nice
if we just have the current diagram (or diagrams) rendered and not all
of them. This would mean that when switching to a new diagram, the
information about the diagram (position and color of figures...) is
restored from wherever and the Figs, Editors etc. are created. The
switched from diagram will eventually be garbage collected.

 

My second thought was that the extra work in creating everything would
probably be so much slower so the gain of saving memory is all eaten up.

 

On the other hand, there is another gain of such a change that I think
is far more important and that is that the separation between the
persistent data of the diagrams and the code implementing the editing of
diagrams will be clear.

 

Please try on the thought of creating and dispensing diagrams for every
change.

 

Also try on the thought of having two or more diagrams created from the
same information with different scale, showing on different displays,
edited simultaneously by different users and getting changed information
from wherever the information is saved.

 

            /Linus

 

************************************************

Linus Tolke

[EMAIL PROTECTED]   [EMAIL PROTECTED]

ArgoUML <http://argouml.tigris.org/> 

************************************************

 

Reply via email to