Search code examples
language-agnosticoptimizationprocessor

What are some tricks that a processor does to optimize code?


I am looking for things like reordering of code that could even break the code in the case of a multiple processor.


Solution

  • Wikipedia has a fairly comprehensive list of optimization techniques here.