Improve Parsing Performance
I did some changes to increase performance.
Remove findRemainingTypes()
src/ifc-parser/ifc-services/ifc-processor.js
Check isArray once
I moved the isArray
outside the loop. This a dirty trick... but it should work.
src/ifc-project-builder/ifc-elements-binder.js
getName once
I moved the getName
outside the loop. This will improve performance for large files.
src/ifc-project-builder/items-finder.js
Const instead of var
When we target modern browser, Babel will use const
instead of var
. I saw a ~4 second increase with the IFC Sample File.
Last updated