NREL / BuildingMOTIF

Building Metadata OnTology Interoperability Framework (BuildingMOTIF). For models, see https://models.open223.info/
https://buildingmotif.readthedocs.io/
Other
49 stars 7 forks source link

Use same NS manager for all templates #110

Closed gtfierro closed 2 years ago

gtfierro commented 2 years ago

During profiling it was revealed that a large portion of the time involved in turning an ontology like Brick into a set of templates was in binding necessary namespaces. This uses a single manager for all of those templates, which should not violate any correctness...

Before: 52 seconds (Brick 1.3) After: 12 seconds

Depends on #106 (this is why the diff is so big)