Falling further down the "code optimisation" rabbit hole as I sit on an intercity train home today... When you're casting 394361965 rays into your scene, even using for() rather than foreach() has an noticeable impact on memory churn and perf. Knocked 1/3 off a test render time with that change.
0 likes 0 replies
?