Blender Git Commit Log

Git Commits -> Revision bcefce3

Revision bcefce3 by Campbell Barton (master)
June 10, 2021, 14:31 (GMT)
BLI_mempool: split thread-safe iteration into the private API

Splitting out thread safe iteration logic means regular iteration
isn't checking for the thread-safe pointer each step.

This gives a small but measurable overall performance gain of 2-3%
when redrawing a high-poly mesh.

Ref D11564

Reviewed By: mont29

Commit Details:

Full Hash: bcefce33f24dd3646b84e1baa0db6db76222f1c2
Parent Commit: 9df1e0c
Lines Changed: +69, -38

4 Modified Paths:

/source/blender/blenlib/BLI_mempool.h (+0, -2) (Diff)
/source/blender/blenlib/intern/BLI_mempool.c (+59, -33) (Diff)
/source/blender/blenlib/intern/BLI_mempool_private.h (+8, -1) (Diff)
/source/blender/blenlib/intern/task_iterator.c (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021