A Primer on Compression in the Memory Hierarchy