> > imi puteti recomanda o functie de hashing pt a o aplica pe adrese IP?
> Pai dat fiind ca sunt simple numere pe 32 de biti, ai putea incerca sa faci
> adresa_ip % marimea_hash_table. Merge, dar depinde si la ce anume te
> astepti :)
xor intre cei 4 bytes e perfect, daca adresele de IP sunt aleatoare,
pe testatelea. E drept insa ca putin probabil sa vrei un hash cu 256
buckets :-) ia-l modulo something.
Matei
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.