Fri, 06/11/2021 - 13:39
Forums:
Hello there,
I am having some difficulties with reading a STEP file containing assembly structure in a project I am working on. With the shared vector array and recursive functions, I can extract the model tree. However, I am experiencing a performance loss when iterating the entire tree on files with these many (thousands) children.
Can you give an idea of the most effective algorithm?
Tue, 06/15/2021 - 16:05
It is difficult to guess what might be a hot spot in your current logic from the current description (with no code snippets / performance counters / test data).
Consider using profiling tools to localize the slowest parts of your algorithm, which can be improved / redone in a better way.