peephole optimization

noun

peephole optimization

noun

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

1

Computing, Engineering, Mathematics, Natural sciences, Physical sciences, Sciences, Software compilation 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.1979, P. J. Brown, editor, Software Portability: An Advanced Course, Cambridge University Press, →ISBN, page 149:

Entry derived from the Wiktionary, under licence CC BY-SA 4.0 — list of authors.