Wiktionary
peephole optimization
n. (context programming English) An optimization that works by eliminating redundant instructions from a small area of code.
Wikipedia
Peephole optimization
In compiler theory, peephole optimization is a kind of optimization performed over a very small set of instructions in a segment of generated code. The set is called a "peephole" or a "window". It works by recognising sets of instructions that can be replaced by shorter or faster sets of instructions.