eclipse-sirius / sirius-emf-json

JSON-based EMF Resource implementation - part of Eclipse Sirius
https://eclipse.dev/sirius/sirius-web.html
Eclipse Public License 2.0
5 stars 10 forks source link

[19] Avoid costly test during reference serialisation #44

Open pcdavid opened 3 months ago

pcdavid commented 3 months ago

This should help mostly in presence of references with high cardinalities as it avoids an O(n*n) iteration when serialising them.

Bug: https://github.com/eclipse-sirius/sirius-emf-json/issues/19 Signed-off-by: Pierre-Charles David pierre-charles.david@obeo.fr