PapyrusDiagramPostComparison performs poorly

It has a performance of O(n^3). It's better to set all getRequires() at
once, at avoid uniqueness testing for very large lists. It's also
important to turn off notification because each addAll otherwise also
has O(n^2) performance from merging all the inverse notifications.

Change-Id: Ifd24d5eb71dcd5c00cb40bfbb153fe1e4ec3525e
Signed-off-by: Philip Langer <planger@eclipsesource.com>
1 file changed
tree: db06a626e47247124450ecdac8cf04a04c314825
  1. plugins/
  2. releng/
  3. tests/
  4. .gitattributes
  5. .gitignore
  6. .project
  7. CONTRIBUTING.md
  8. pom.xml
  9. README.MD
README.MD

Papyrus Collaborative Modeling

This is the collaborative modeling git repository

This repository is hosted at [Eclipse] (http://git.eclipse.org/c/papyrus/org.eclipse.papyrus-collaborativemodeling.git/)