Blender Git Commit Log

Git Commits -> Revision 1557fa7

December 15, 2021, 13:37 (GMT)
MetaBall: optimize memory allocation for meta-ball tessellation

Double the allocation size when the limit is reached instead of
increasing by a fixed number.

Also re-allocate to the exact size once complete instead of over
allocating. This gives a minor speedup in my tests ~19% faster
tessellation for ~1million faces.

Commit Details:

Full Hash: 1557fa77d025315f1ec5f0ed9797213d9af15558
Parent Commit: 302fe4f
Committed By: Jeroen Bakker
Lines Changed: +15, -3

1 Modified Path:

/source/blender/blenkernel/intern/mball_tessellate.c (+15, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021