- #1
ndesk1900
- 4
- 0
I had some general questions related to hashing.
1. Load factor in a HashTable is when you want to increase capacity of buffer. Is there any advantage/disadvantage of setting the loadfactor less than 100% vs setting load factor at 100%?
2. When you increase capacity, you have to rehash all values inside. Is there any way to increase capacity without a rehash?
This is crossposted on [http://stackoverflow.com/questions/13120021/load-factor-and-rehashing-in-hashsets]
1. Load factor in a HashTable is when you want to increase capacity of buffer. Is there any advantage/disadvantage of setting the loadfactor less than 100% vs setting load factor at 100%?
2. When you increase capacity, you have to rehash all values inside. Is there any way to increase capacity without a rehash?
This is crossposted on [http://stackoverflow.com/questions/13120021/load-factor-and-rehashing-in-hashsets]