Locality of reference is a phenomenon that can be observed in Computer science .
The locality of reference , also known as the locality principle , is the phenomenon , that the collection of the data locations referenced in a short period of time in a running computer , often consists of relatively well predictable clusters . Important special cases of locality are temporal , spatial , equidistant and branch locality .