How much do modern C# compilers / runtimes take care of optimization for me?
I know that C compilers are pretty good at optimizing code nowadays. and I think in C# it's even better as it's a higher level language.
But Unity docs say that `Vector3.zero` which is defined as `get { new Vector3(0,0,0) }` can be slower than just writing `new Vector3(0,0,0)`. Is it actually true that `Vector3.zero` and `new Vector3(0,0,0)` don't get optimized away to be the same code? wtf?
at the bottom of this page: https://docs.unity3d.com/6000.0/Documentation/Manual/UnderstandingPerformanceSpecialOptimizations.html