Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
2
Newest
 Informed
Impact
~112 people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Jul
25
comment For Which Kind of Cache will this Program not run well? How can it be optimized?
I've done some research, and I believe that with a set-associative mapped cache, this code will cause a large number of cache misses. The solution is to increase the size of each array by 1, so the number of elements is not a power of 2.