occt: master 510cb852
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
kgv | bugmaster | master | 2017-11-08 12:25:51 | master f88457e6 |
Affected Issues | 0029302: Foundation Classes, NCollection - optimize iteration of indexed maps | |||
Changeset | 0029302: Foundation Classes, NCollection - optimize iteration of indexed maps NCollection_IndexedMap and NCollection_IndexedDataMap now access Key by Index number without computing Hash code. IndexedMapNode::myNext2 and IndexedDataMapNode::myNext2 fields have been removed, so that indexed map now may utilize less memory. TCollection::NextPrimeForMap() has been extended upto 2038431745 (almost full signed 32-bit integer range), and NCollection_BaseMap::mySaturated property has been removed. NCollection_IndexedDataMap::RemoveFromIndex(), FindKey(), FindFromIndex(), ChangeFromIndex() - removed duplicating checks for out of range input. |
|||
mod - src/NCollection/NCollection_BaseMap.cxx | Diff File | |||
mod - src/NCollection/NCollection_BaseMap.hxx | Diff File | |||
mod - src/NCollection/NCollection_IndexedDataMap.hxx | Diff File | |||
mod - src/NCollection/NCollection_IndexedMap.hxx | Diff File | |||
mod - src/TCollection/TCollection.cxx | Diff File |