Blender Git Commit Log

Git Commits -> Revision 7521395

Revision 7521395 by Jeroen Bakker (master)
June 2, 2020, 14:01 (GMT)
BVHCache: Performance

This patch changes the BVHCache implementation. It will use
a primitive array in stead of the ListBase. The locking is also
changed from a global lock to a per cache instance lock.

The performance of `gabby.blend` available on the cloud increased from 9.7
fps to 10.5 fps.

Reviewed By: Brecht van Lommel

Differential Revision: https://developer.blender.org/D7817

Commit Details:

Full Hash: 752139556f58988d8717e12f6288fdce7eedd2ce
Parent Commit: bf34b0c
Lines Changed: +302, -244

7 Modified Paths:

/source/blender/blenkernel/BKE_bvhutils.h (+24, -13) (Diff)
/source/blender/blenkernel/intern/bvhutils.c (+224, -209) (Diff)
/source/blender/blenkernel/intern/mesh_remap.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/mesh_runtime.c (+5, -1) (Diff)
/source/blender/editors/transform/transform_snap_object.c (+32, -17) (Diff)
/source/blender/makesdna/DNA_mesh_types.h (+3, -2) (Diff)
/source/blender/modifiers/intern/MOD_weld.c (+12, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021