]> SALOME platform Git repositories - modules/kernel.git/commit
Salome HOME
CCAR: fix a performance problem when adding references in study (AttributeTarget)
authorcaremoli <caremoli>
Tue, 28 Sep 2010 15:09:14 +0000 (15:09 +0000)
committercaremoli <caremoli>
Tue, 28 Sep 2010 15:09:14 +0000 (15:09 +0000)
commit8fa9a623faabd5540d86f6c0425f71d8ff152287
tree2857266d09ef062d25c264d47fa6e688ef040fcd
parenta39f979abb9e33d78ea78a0fc52a6f0cd6bedc7a
CCAR: fix a performance problem when adding references in study (AttributeTarget)
replace the vector<DF_Attribute*> by a map< std::string , DF_Attribute* >
where the key is the label of the DF_Attribute* to improve access time to an attribute
with given label (main performance bottleneck during explode)
src/SALOMEDSImpl/SALOMEDSImpl_AttributeTarget.cxx
src/SALOMEDSImpl/SALOMEDSImpl_AttributeTarget.hxx