The Gateway to Computer Science Excellence
+2 votes
215 views
How do you compare associativity (in cache) to chaining in hash table?
in Revision by | 215 views

1 Answer

+1 vote
In Associative Cache, all main memory blocks goes to same slot using function K mod N, same thing in chaining. K is main memory block no, N number of Cache Lines. If number of cache lines and number of slots in hash map are same, then there is direct relation ship between them.
by
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
52,345 questions
60,506 answers
201,910 comments
95,339 users