GetLastError calls

Hi there, my Collada importer grew a bit larger by time and I had some performance bottlenecks on other parts of my application, so I did some testing with a profiler. If I don’t misinterpret that profiler’s output, Collada DOM issues about 2 million GetLastError calls on a pretty simple Scene with a few objects and about 70k Triangles. Is that expected behaviour or am I just misinterpreting some results here… Does the DOM call GetLastError at all? Oo

Greetings,
Michael

No, the DOM is platform agnostic and avoids OS-specific functions like GetLastError. However it’s possible that libxml is calling GetLastError.

Is your profiler reporting that all the GetLastError calls are seriously slowing your app down?

Steve

Hello!
Nono, that’s all preprocess and I do no streaming or such, I only noticed that huge number when I was fixing real problems, damn I need to work on my english :wink: !

Greetings,
Michael