People often think that optimization is some black magic involving rewriting stuff into super optimized micro-code...
... but the reality is almost always just telling devs "you shouldn't do that" or "if you refactor/cache that one function, you'll go from 1 to 60 FPS".