Blender Git Commit Log
Git Commits -> Revision caca35d
Revision caca35d by Sergey Sharybin (cycles-x) April 7, 2021, 12:16 (GMT) |
Cycles: Pass callback by const reference The only benefit which I am aware of of passing callback by value is when it needs to be moved for a permanent storage somewhere else. Here passing it by value was creating temporary copies for every invocation. |
Commit Details:
Full Hash: caca35dd80c936a2cd1713592cd454d9cbc7e571
Parent Commit: dbe187e
Lines Changed: +2, -2