Blender Git Loki

Git Commits -> Revision ade5958

Revision ade5958 by Campbell Barton (soc-2021-curves)
June 21, 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: ade595850afe4e1d9a28d59a4915f9701795fd21
Parent Commit: 68a7f9b
Committed By: Dilith Jayakody
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021