Blender Git Commit Log
Git Commits -> Revision 2230130
Revision 2230130 by Sergey Sharybin (master) August 24, 2015, 07:46 (GMT) |
Cycles: Speedup of Spatial BVH split code Avoid memmove() happening on every insert of duplicated node to the references list. Temporary pre-allocated vector is used for new references which is then being inserted into actual array in one go later. Gives around 4x speedup building spatially split BVH for the grass field in the cassette player shot from Gooseberry. |
Commit Details:
Full Hash: 2230130099dd6921df9681c4e4908ff8e1beaed7
Parent Commit: 334208e
Lines Changed: +14, -4
1 Modified Path:
/intern/cycles/bvh/bvh_split.cpp (+14, -4) (Diff)