occt: master f6973d90

Author Committer Branch Timestamp Parent
kgv bugmaster master 2019-05-23 19:46:58 master 9369e98a
Affected Issues  0030738: Data Exchange - XCAFDoc_ShapeTool::updateComponent() is too long
Changeset 0030738: Data Exchange - XCAFDoc_ShapeTool::updateComponent() is too long

Cache subshapes list into map instead of re-iterating it multiple times within the loop.
Avoid iteration at all if modified state has been already detected.

XCAFDoc now returns GUIDs by const reference instead of a copy.
mod - src/XCAFDoc/XCAFDoc.cxx Diff File
mod - src/XCAFDoc/XCAFDoc.hxx Diff File
mod - src/XCAFDoc/XCAFDoc_ShapeTool.cxx Diff File