Revert "[qofid.cpp] for Split and Trans reserve QofInstance* map"

This reverts commit 00803ba018.
future
Christopher Lam 2 days ago
parent 994b04a161
commit e5142dfd97

@ -47,14 +47,7 @@ struct QofCollection_s
QofCollection_s (QofIdType type) : e_type{static_cast<QofIdType>(CACHE_INSERT(type))}
, is_dirty{FALSE}
, data{NULL}
{
if (!g_strcmp0 (e_type, "Split"))
guid_entity_map.reserve (50000);
else if (!g_strcmp0 (e_type, "Trans"))
guid_entity_map.reserve (10000);
}
, data{NULL} {}
~QofCollection_s ()
{
CACHE_REMOVE (e_type);

Loading…
Cancel
Save