devel/cmph 2.0_2 DragonFly
Minimal perfect hashes for C
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- Categories
- devel
- Package size
- 73.5 KiB, 464.4 KiB installed
Description
A perfect hash function maps a static set of n keys into a set of m integer numbers without collisions, where m is greater than or equal to n. If m is equal to n, the function is called minimal.
Minimal perfect hash functions are widely used for memory efficient storage and fast retrieval of items from static sets, such as words in natural languages, reserved words in programming languages or interactive systems, universal resource locations (URLs) in Web search engines, or item sets in data mining techniques. Therefore, there are applications for minimal perfect hash functions in information retrieval systems, database systems, language translation systems, electronic commerce systems, compilers, operating systems, among others.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/cmph | 2.0_2 |
| FreeBSD | devel/cmph | 2.0.2 |
| NetBSD | devel/cmph | 2.0 |
| HardenedBSD | devel/cmph | 2.0.2 |
| GhostBSD | devel/cmph | 2.0.2 |
Install
Binary package:
pkg install cmph
From DPorts:
cd /usr/dports/devel/cmph && make install clean
Dependencies
No port depends on this one.