diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-08-23 16:03:00 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-08-24 10:46:40 +0300 |
commit | 2230130099dd6921df9681c4e4908ff8e1beaed7 (patch) | |
tree | 24b507c46a877aa3d2deedc3dfbeb0ba3fed659d /intern/cycles/util | |
parent | 334208e67086530924c1172d4c993ae14508c0cf (diff) |
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.
Diffstat (limited to 'intern/cycles/util')
0 files changed, 0 insertions, 0 deletions