On Oct 7, 2005, at 4:00 AM, <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]> wrote:
1) Find the "leaf" definition file;
2) If it is already loaded, finish.
3) Create an empty definitions set;
4) put all missing definitions loaded into the definitions set;
5) find the parent definition file;
6) if it is already loaded, put all missing definitions (by cloning
them)
in the definitions set and go to 9;
7) if it is the root file, go to 9;
8) go to step 5;
9) resolve inheritances.
As you can see, there will be a big caching of already loaded
definitions
files, only by adding two methods (addMissingDefinitions in
XmlDefinitionsSet and "clone" in XmlDefinition).
What do you think about it?
If I understand you correctly Standalone Tiles may be doing that now
by default. I'll have to take another look at it (maybe add another
test case).
Greg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]