This video introduces the notion of peephole optimizations. These are compiler optimizations that happen within the scope of a small sliding window, that is, a window of consecutive program instructions. Peephole optimizations include branch coalescing, strength reduction, application of machine idioms, etc.