Reduce heap allocations during parse by reusing vector for top level instances

This commit is contained in:
Thomas Krijnen
2022-10-03 14:04:42 +02:00
parent 084151ed4c
commit 698c708bf6
2 changed files with 17 additions and 2 deletions
+2
View File
@@ -130,6 +130,8 @@ private:
const IfcParse::schema_definition* schema_;
const IfcParse::declaration* ifcroot_type_;
std::vector<Argument*> internal_attribute_vector_;
entity_by_id_t byid;
entities_by_type_t bytype;
entities_by_type_t bytype_excl;