# Memory ## Memory Hierachies Storage media typically trades off speed with capacity ## Locality * **Temporal Locality**: recently referenced items are likely to be referenced again soon * **Spaitial Locality**: items with nearby addresses are tend to be referenced close together in time ## Cache Concepts