]> gerrit.simantics Code Review - simantics/platform.git/commit
Improved element reordering performance 65/4065/1
authorJussi Koskela <jussi.koskela@semantum.fi>
Thu, 2 Apr 2020 11:01:04 +0000 (14:01 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 2 Apr 2020 19:58:51 +0000 (19:58 +0000)
commit15729ad536d7cf78ef7e3c2ab56e21356100a8cf
treed5536546f5b36a5457c84bb81f40fb45bc678b94
parent0aae57089fe5a46a519533aabecc1bbab64694fa
Improved element reordering performance

Performance was especially poor when moving element from top to bottom
as it caused changes all elements in the ordered set.

gitlab #508

Change-Id: I140bf8ad552f06477751842f6e3da9e0d294e247
(cherry picked from commit 99174cb4476954c91687ff5625227e91bdee9e67)
bundles/org.simantics.db.common/src/org/simantics/db/common/utils/OrderedSetUtils.java
bundles/org.simantics.diagram/src/org/simantics/diagram/synchronization/graph/ElementReorder.java