Hash table optimisation
807603Nov 9 2007 — edited Nov 9 2007Hello all
I have a question about optimisation of a hash table using the initial capacity parameter.
I need to store on average between 8-16 million entries (integers) in the hash. I have experimented with setting the initial capacity at 500 000, 1 000 000 and 8 000 000. 1million appears to perform the quickest, but I need to test more to see if this is a real effect.
Has anyone else had any similar experience with very large hash tables ?
Cheers
Colin