Question: Question: Describe the general characteristics of a program that would exhibit very high amounts of temporal locality and very high amounts of spatial locality with
Question: Describe the general characteristics of a program that would exhibit very high amounts of temporal locality and very high amounts of spatial locality with regard to data accesses.
So far I have: A program with high amounts of temporal locality like a loop or an array would access a set of data frequently. And if it also had high amounts of spatial locality the program would hit locations of memory near other.
If this is correct could someone give me a general example? Thanks!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
