Documentation
¶
Overview ¶
Package mph represents minimal perfect hash function implementation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MPH ¶
type MPH interface {
store.Marshaler
store.Unmarshaler
// Build builds a MPH for the given dictionary
Build(dict dictionary.Dictionary) error
// Get returns a hash value for the given word
Get(word dictionary.Value) dictionary.Key
}
MPH represents minimal perfect hash function
Click to show internal directories.
Click to hide internal directories.