Spatial locality refers to the problem that once a location is referenced
Spatial locality refers to the problem that once a location is referenced a nearby location will be referenced soon.
Spatial locality:-
Spatial localityrefers to the use of data elements within relatively close storage locations. Sequential locality, a special case of spatial locality, occurs when data elements are arranged and accessed linearly, such as, traversing the elements in a one-dimensional array.
Locality of reference is a term for the phenomenon in which the same values, or related storage locations, are frequently accessed, depending on the memory access pattern. There are two basic types of reference locality which are temporal and spatial locality.