peephole optimization

noun

Etymology

Coined by computer scientist William Marshall McKeeman in 1965, from peephole + optimization.

Definitions

  1. An optimization that works by eliminating redundant instructions from a small area of…

    An optimization that works by eliminating redundant instructions from a small area of source code.

    • The loop was more than twice as fast after I had applied peephole optimization.
    • The method of peephole optimization was described by McKeeman (1965). A simple code generator is replaced by one where short instruction sequences are replaced by ones which are shorter or faster.

The neighborhood

Vish — recursive loop

No curated loop yet for peephole optimization. Loops are being traced one word at a time while the ingestion pipeline matures.

sense glosses and etymology drawn from English Wiktionary · source · CC-BY-SA