diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-15 15:39:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-15 15:40:39 +0300 |
commit | 883e4c089ad7c3336f69847af77449cae4aed548 (patch) | |
tree | 11ff29ddddbd8ce33156fd8f5835f6f219b854db /source/blender/nodes | |
parent | 6a885e5d89599d5acec8792bcb6aab49b6c4773c (diff) |
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.
Diffstat (limited to 'source/blender/nodes')
0 files changed, 0 insertions, 0 deletions