NatTableGraphExplorer does a lot of unnecessary list reindexing
NatTableGraphExplorer uses a single ArrayList as a flattened representation of the shown tree.
With the current update logic, listReIndex()
method is called after a tree node update. While this is fine with limited amount of nodes, large trees may require hundreds or more updates, and thus a lot of time is spend with reindexing / tree flattening.
With a minor change, we can do reindexing just once per patch of nodes.