- Los Angeles, California
- https://www.youtube.com/@CodeBlazeX
-
MLE for XR Intern @ Samsung Research | Graphics researcher @ USC, Institute of Creative Technologies | YouTuber creating Game Development content
- Joined on
2024-02-28
Yeah, I was going to ask you about this didn't like it myself as this was the first time I used the new keyword in blender
I agree, but I think this is a more extensive cleanup as both STL (stl_import_ascii_reader.cc
) and PLY (ply_import_data.cc
) have their own versions of similar functions
Other importers (STL, OBJ, PLY) have these fprintf along with reports, so I followed that
Another way to structure this might be having separate caches for each key/value type combination that all share a memory usage counter. Did you think about that? I'm not sure it's better but…
@Jacques-Lucke Can you review the memory counter api usage in this PR, I understand that MemoryCount
by design should outlive the MemortCounter
. That would suggest that MemoryCount
would…