What is the meaning of the terms:

a. temporal locality?
b. spatial locality?

a. temporal locality
If data were located in memory and distributed at random, cache memory would not work. The idea behind cache is that data is neither located at random nor accessed randomly. Temporal locality (temporal means ‘of time’) indicates data that is clustered in time; that is, the same data elements are frequently accessed over a certain time period. This behavior is typical of loops.
b. spatial locality
Spatial locality describes data that is clustered together in the same area; for example, the stack or data structures like arrays and tables.

Computer Science & Information Technology

You might also like to view...

What connector is used for POTS

A. RJ-11 B. RJ-12 C. RJ-43 D. RJ-10

Computer Science & Information Technology

Share permissions are configured on a shared folder and apply to all files and subfolders of the shared folder.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology