[SR-Users] HTable 'size' parameter

Iñaki Baz Castillo ibc at aliax.net
Sat Oct 16 12:43:47 CEST 2010


2010/10/16 Juha Heinanen <jh at tutpro.com>:
> size=4 means that the hash table has 16 entries.  it does not mean that
> the table could not contain more objects, but collisions will happen.

And those collisions mean that I could look for a key name and
retrieve another key (as both key names produce the same hash), am I
right?
So, if I want to handle ~ 300 concurrent entries, with *no* collision,
which "size" value is good enough? how to determine it?

Thanks a lot.

-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-users mailing list