XbimEssentials icon indicating copy to clipboard operation
XbimEssentials copied to clipboard

Open document slowly

Open LSE-AP opened this issue 2 years ago • 1 comments

Hi,

I use XBimEssentials into Xamarin Android application and I notice the loading time is not fast. Is it possible to improve the loading time ? For example open the file up to a certain level. This library http://rdf.bg/product-list/ifc-engine/ is more faster.

LSE-AP avatar Apr 06 '22 08:04 LSE-AP

What is the size of the file? Our implementation is early-bound which means that we are parsing the data into data structures implementing IFC schema. This means that you get 100% compile time checking for your code. Many implementations use late-bound approach which makes it sometimes more performant initially, but more error prone and also slower when it comes to process the data (when you actually need to parse everything into some data-structures).

We have an internal implementation of IModel interface which is much faster for the initial data access (about 70MB/s). We are currently deciding if we make this public as well. Would you like to share more about your project @LSE-AP?

martin1cerny avatar Apr 19 '22 08:04 martin1cerny