Blender Git Commit Log

Git Commits -> Revision 7329f11

August 7, 2014, 18:23 (GMT)
More optimization: Allocate all LinkNode need for loops in one step, instead of doing one alloc per loop.

This allocate a bit more memory than needed (since we won't use linknodes of 'sharp' loops),
but avoids calling BLI_linklist_prepend_memarena() once per 'smooth' loop.

Note: gave much less benefits than expected, in the end - guess memarena allocation is *really* fast!

Commit Details:

Full Hash: 7329f1141038936a4f12df0e54f256273a9edbee
Parent Commit: 12fa69d
Lines Changed: +7, -4

3 Modified Paths:

/source/blender/blenkernel/BKE_mesh.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/mesh_evaluate.c (+5, -3) (Diff)
/source/blender/modifiers/intern/MOD_setsplitnormal.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021