The other day: “hmm building blender got quite a bit slower” (by 10-15%). What caused it? Of course, enabling “plz C++20” instead of previous “plz C++17” compiler option. This is without actually *using* any of 20 features yet.

😭

https://projects.blender.org/LazyDodo/BuildBench

@aras you're not even safe in an STL-free codebase because C++20 blows up C math.h too. that said it's not much work to write your own header with pi and 20 lines of `extern "C" float sinf(float);` etc, and we saw enough of a speedup from it to be totally worth. it's also nice that you can do `void sinf(double) = delete;` to catch accidental doubles