Bug 533522 - GenericEditor very slow to present large models
Several performance fixes:
- redundant re-calculation of diagnostics for contained objects
in EcoreDiagnosticCache
- similar redundant updates for parents in all DiagnosticCaches
- O(N) time for addition of listeners in ViewModelContextImpl reduced
to O(log(N)); don't add same listener again for every model element
- eliminate TimerTask for every validated object
- cache images composed by validation decorator
- unnecessary overhead of sets for collections that are a priori unique
- unnecessary boxing of double values
Incidental fixes:
- NPE in a DMR converter
Change-Id: Ia68329c7652a0e67bd47176caf57690af3eb4554
Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
18 files changed