All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Temporal locality, spatial locality?

Also known as: temporal locality · spatial locality

Definition 12.1 University Computer Science — Year 2 · Chapter 12 — Caches and the Memory Hierarchy

A program has temporal locality when an address it has just used is likely to be used again soon, and spatial locality when the addresses near an address it has just used are likely to be used soon.

Read in context →