0
$\begingroup$

How does cache memory take advantage of both temporal locality and spatial locality principles?

$\endgroup$
1
$\begingroup$

It loads data in "blocks". Hence, data close together will be loaded together - space locality

It gets rid only of the most unused data - temporal locality

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.