What is Temporal locality?

The tendency to access the same data or instructions again soon after a first access, as with variables reused inside a loop. One of the reasons caches work.

Field: Memory Hierarchy

Temporal locality in the explanations

Questions that mention Temporal locality (2)

  1. Which is the best example of temporal locality?
  2. What is the main purpose of cache memory?

Related terms

Spatial locality Cache memory Average memory access time Cache line Capacity miss Compulsory miss Conflict miss Direct-mapped cache Fully associative cache Loop blocking

Back to the glossary