Some Lessons Learned
- In general, let the API do most of the work, safer bet. This is not a hard and fast rule, since it depends on what the application needs to do with the objects.
- Iterations are slow, better done as far inside the API as possible.
- Unless you need it, use SE_TRAV_ORDR_MOST_EFFICIENT to initialize a component iterator. Changing the seIterator::start() code from MOST_EFFICIENT to BREADTH_FIRST increased the execution time of countLSRXForm_next() from 5 sec to 47 sec!
- Write code that touches objects at most once.
- The SEDRIS SDK compiled in Debug mode is about 5 times slower than in Release mode.