Slicer: 490-qMRMLSceneHierarchyModel-avoid-extra-scene-lookup 07ba895f

Author Committer Branch Timestamp Parent
jcfr jcfr 490-qMRMLSceneHierarchyModel-avoid-extra-scene-lookup 2016-05-06 05:03:29 490-qMRMLSceneHierarchyModel-avoid-extra-scene-lookup 95540cbb
Changeset

PERF: qMRMLSceneModel: Track and reuse index during populateScene

Avoid unnecessary scene traversal on every call to nodeIndex.

From: Isaiah Norton <inorton@bwh.harvard.edu>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@25048 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Libs/MRML/Widgets/qMRMLSceneModel.cxx Diff File
mod - Libs/MRML/Widgets/qMRMLSceneModel.h Diff File