Blender Git Loki
Git Commits -> Revision d37dd97
Revision d37dd97 by Sergey Sharybin (master) July 5, 2017, 10:27 (GMT) |
Cycles: Pass string by const reference rather than by value Some of the functions might have been inlined, but others i don't see how that was possible (don't think virtual functions can be inlined here). In any case, better be explicitly optimal in the code. |
Commit Details:
Full Hash: d37dd97e4551f9d7e9c728601d03cdd7b8706991
Parent Commit: 58c456b
Lines Changed: +25, -20
6 Modified Paths:
/intern/cycles/device/device_cpu.cpp (+4, -2) (Diff)
/intern/cycles/device/device_cuda.cpp (+4, -2) (Diff)
/intern/cycles/device/device_split_kernel.h (+2, -1) (Diff)
/intern/cycles/device/opencl/opencl.h (+8, -8) (Diff)
/intern/cycles/device/opencl/opencl_split.cpp (+1, -1) (Diff)
/intern/cycles/device/opencl/opencl_util.cpp (+6, -6) (Diff)
/intern/cycles/device/device_cuda.cpp (+4, -2) (Diff)
/intern/cycles/device/device_split_kernel.h (+2, -1) (Diff)
/intern/cycles/device/opencl/opencl.h (+8, -8) (Diff)
/intern/cycles/device/opencl/opencl_split.cpp (+1, -1) (Diff)
/intern/cycles/device/opencl/opencl_util.cpp (+6, -6) (Diff)