Hi All
suppose i choose the function
h(k) = k mod m
where k is the key and m is the number of elements in table
i want to hash an ip address which is a long type value.
what will be a "good" m
thanx.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 9 of 9
Threaded View
|
Click Here to Expand Forum to Full Width |