The load factor 0.75 can be interpreted in this way using the formula (n / s, the ratio of the number of stored records n and the size s of the table array from the buckets.):
Suppose you have 75 values ββthat need to be stored in a hash table, and you have 100 empty blocks of blocks to store them, the collision probability is minimized here, and the load factor is 0.75.
Now suppose you have 75 values ββto store and only 10 empty block blocks (load factor 7.5), this means that you will have a collision and use any conflict resolution methods, which will increase the search time.
Now, in another way, you have 75 records and 1000 empty blocks of the array (load factor 0.075), this will lead to many empty blocks, which is a big loss of space.
Therefore, the rule of thumb is that as the load factor increases, your search time will increase, and as you approach 0, more storage space is lost.
Therefore, this is a spatial temporary work.
digiVader
source share