Login
Remember
Register
Ask a Question
Write about the advantages and disadvantages of a hashed-page table?
0
votes
asked
Sep 16, 2023
in
Operating System
by
rajeshsharma
Write about the advantages and disadvantages of a hashed-page table?
hashed-pagetable
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Sep 16, 2023
by
rajeshsharma
Advantages
The main advantage is synchronization.
In many situations, hash tables turn out to be more efficient than search trees or any other table lookup structure. For this reason, they are widely used in many kinds of computer software, particularly for associative arrays, database indexing, caches, and sets.
Disadvantages
Hash collisions are practically unavoidable. when hashing a random subset of a large set of possible keys.
Hash tables become quite inefficient when there are many collisions.
Hash table does not allow null values, like a hash map.
...