Blender Git Commit Log

Git Commits -> Revision 883e4c0

Revision 883e4c0 by Campbell Barton (master)
December 15, 2021, 12:40 (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: 883e4c089ad7c3336f69847af77449cae4aed548
Parent Commit: 6a885e5
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