Use `parallel_for` instead of the C threading API, extract some constant checks from hot loops, and use `EnumerableThreadSpecific` for thread-local storage. Pull Request: https://projects.blender.org/blender/blender/pulls/105940
Use `parallel_for` instead of the C threading API, extract some constant checks from hot loops, and use `EnumerableThreadSpecific` for thread-local storage. Pull Request: https://projects.blender.org/blender/blender/pulls/105940