Optimization Tips

1. Don’t second-guess the compiler Most optimization tricks of the past are no longer necessary with modern compilers. These include unrolling loops and combining methods to avoid function calls. And if you’re using a managed language deployed to platforms with JIT compilers then you’re actually hurting performance by denying better optimizations that the JIT can […]