Files
test/source
Jesse Yurkovich 068579f3e8 Mesh: Reduce memory allocations in corner normals calculation
Based on an instrumented set of our container classes, it was found that
an excessive number of Vector reallocations were occurring in the corner
normals code path.

The allocations were reduced by increasing inline buffer sizes for the
Vectors in question. The total number of reallocs falls from 433k to
194k when importing the Zero-Day FBX scene[1]. Profiling time spent in
`MEM_lockfree_mallocN_aligned` falls from ~1.3% to ~1.15%

[1] Zero-Day, Open Research Content Archive (ORCA):
https://developer.nvidia.com/orca/beeple-zero-day

Pull Request: https://projects.blender.org/blender/blender/pulls/117431
2024-01-26 21:33:50 +01:00
..