Lably
Skip to content

Loop optimization

Increasing execution speed and reducing the overheads associated with loops

  • 6 min read
  • 2 chapters

Related on Lably

Through Compiler and Control flow

Representation of computation and transformations

Since instructions inside loops can be executed repeatedly, it is frequently not possible to give a bound on the number of instruction executions that will be impacted by a loop optimization. This presents challenges when reasoning about the correctness and benefits of a loop optimization, specifically the representations of the computation being optimized and the optimization(s) being performed.

Sign in to keep reading

One more chapter is free with a Lably account.

More in Computing and communication