This past week I mainly refactored the code and fixed various bugs. In addition, I had exams, so I wasn’t able to dedicate as much time as I hoped. I started properly using clang-format
and fixed the emacs integration suggested on the Blender wiki, as it caused the file to not be saved.
I did some more preliminary benchmarks and got the following results for a suzanne with a level 6 subdiv applied:
Implementation | Time (size of resultant file) |
---|---|
Python | 77.5 s (340mb) |
C++ (without duplicates) | 45.9 s (290mb) |
C++ (with duplicates) | 22.4 s (580mb) |
These results aren’t quite as expected. This seems to be due to high amounts of indirection resulting from the use of boost, so the next planned step is to change the implementation to not depend on boost for this.