0029064: Copying of empty NCollection map takes excessive memory
authorisn <isn@opencascade.com>
Mon, 15 Jan 2018 17:29:14 +0000 (20:29 +0300)
committerbugmaster <bugmaster@opencascade.com>
Mon, 26 Mar 2018 12:32:51 +0000 (15:32 +0300)
commit229add784fa18366814bd9a56a04ee27f442f756
tree0cbc8c62573665c3751cf2c952f1eb699f173f6c
parent8e45500e2167947f42ac9db7062688fdc5799d68
0029064: Copying of empty NCollection map takes excessive memory

Avoid resizing of NCollection maps in Assign() methods if source map is empty
src/NCollection/NCollection_DataMap.hxx
src/NCollection/NCollection_DoubleMap.hxx
src/NCollection/NCollection_IndexedDataMap.hxx
src/NCollection/NCollection_IndexedMap.hxx
src/NCollection/NCollection_Map.hxx
src/QABugs/QABugs_20.cxx
tests/bugs/fclasses/bug29064 [new file with mode: 0644]