]> gerrit.simantics Code Review - simantics/platform.git/commit
Improved element reordering performance 87/4087/1
authorJussi Koskela <jussi.koskela@semantum.fi>
Thu, 2 Apr 2020 11:01:04 +0000 (14:01 +0300)
committerJussi Koskela <jussi.koskela@semantum.fi>
Thu, 2 Apr 2020 11:01:04 +0000 (14:01 +0300)
commit99174cb4476954c91687ff5625227e91bdee9e67
treef231c37570ae07b98f31563099747a23e28b67c6
parent06ba87c8c0f66b8d198eaad24a98442a9d3bc581
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
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