## TWAP Accumulators
* Numbers that increase every second by the current price * Subtracting two accumulator snapshots gives sum of prices every second (area under curve) * Divide area by time to get average price
## Median Filters
* Image processing technique to get rid of "salt-and-pepper" noise * Outlier impulses are replaced with median of their neighbouring pixel values
## Ring Buffers
* Uniswap 2 required contracts keep their own accumulator snapshots * Very hard to use * Uniswap 3 keeps N most recent snapshots internally in its storage, using a ring-buffer data structure * Much easier to use