Slow performance

"Anders W. Tell" <[email protected]> Thu, 10 Jul 2003 21:31:17 +0200
Newsgroups gmane.comp.java.netbeans.modules.mdr.devel
Organization Financial Toolsmiths AB
Message-ID <[email protected]>
Hi,

Im creating a UI for viewing MDR /JMI artifacts for the UML 15. 
metamodel. When doing the following traversal MDR takes for ever to 
complete.

for all in outermost.refAllPackages -> pkg
  for all in pkg.refAllAssociations ->  as
     for all in as.refAllLinks
        --- here it loops calling ModelElementImpl.recursiveFindDeps,  ---

Basically I want to form a JTree with the artifacts in UML 15 metamodel. 
Im using the memory database not BTREE for fast performance.

Is this a common problem or is a problem with the loop or ....

cheers
/anders

-- 
/////////////////////////////////////
/ Business Collaboration Toolsmiths /
/ website: <www.toolsmiths.se>      /
/ email: <[email protected]>    /
/ phone: +46 8 545 885 87           /
/ mobile: +46 70 546 66 03          /
/////////////////////////////////////