4 ms·
You don't need hash codes to be unique for items in the table so there doesn't need to be any relation between the size of the hash and the size of the table. T
by lkitching 10y ago
You don't need hash codes to be unique for items in the table so there doesn't need to be any relation between the size of the hash and the size of the table. The time taken by the hash function depends on the size of the keys not the size of the table.