By moving checking of Grid outside of loop, we are decrease amount of conditional branches, which allows for better compiler optimizations. Pull Request: https://projects.blender.org/blender/blender/pulls/138410
By moving checking of Grid outside of loop, we are decrease amount of conditional branches, which allows for better compiler optimizations. Pull Request: https://projects.blender.org/blender/blender/pulls/138410