|
|
|
|
|
by boyd
761 days ago
|
|
My understanding is that a perfect hash function maps elements elements to a unique integer (i.e., it's a one-to-one mapping). I think PHF data structures will also always return a value. So if you look up an element not in the constructed PHF, you'll always get a "false positive" value. In contrast, a B-field lets you map a key to an arbitrary number of (typically non-unique) values. So I could map a million elements to "1", another million to "2", etc. I'm not especially current (or fluent!) in that literature though, so would love pointers to anything that doesn't have the above constraints. |
|