Results 1 to 3 of 3

Thread: GetLastError calls

  1. #1
    Junior Member
    Join Date
    Dec 2007
    Posts
    5

    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

  2. #2
    Senior Member
    Join Date
    Jan 2006
    Location
    Foster City, CA
    Posts
    540
    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

  3. #3
    Junior Member
    Join Date
    Dec 2007
    Posts
    5
    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 !

    Greetings,
    Michael

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •