Lookahead (audio)
A trick in which a dynamics processor delays the audio but not its own detector, so it sees a peak coming before it has to deal with it.
An analogue compressor can only react to what has already happened; even with the fastest attack, the leading edge of a transient slips through. Lookahead splits the signal in two: the detector gets it immediately, while the audio path is held back a few milliseconds. By the time the peak reaches the output, the gain reduction is already in place. That is how a digital brickwall limiter can promise that nothing — not a single sample — goes over the ceiling.
The cost is latency, which the plugin reports to the DAW so plugin delay compensation can shift every other track by the same amount. Long lookahead can also produce an audible intake of breath before the hit, as the gain drops before the sound arrives — the compressor knows things about the future that the listener should not notice.