is it true that hash-tables increase their capacity to the next prime number?



Thanks to everybody for their answers I will keep both versions, and
after I finish my implementation will bencmark with real data and
implementations.
One more question is it true that hash-tables increase their capacity
to the next prime number?

cheers
Slobodan
.