macOS
brew install libcmphlocal Homebrew formula metadata
sudo port install cmphMacPorts ports tree · textproc/cmph/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de libcmph pour les workflows d'agents IA.
installation
brew install libcmphlocal Homebrew formula metadata
sudo port install cmphMacPorts ports tree · textproc/cmph/Portfile · Source: api.github.com
sudo apk add libcmphAlpine Linux edge package indexes · libcmph · Source: dl-cdn.alpinelinux.org
sudo apt install libcmph-devDebian stable package indexes · libcmph-dev · Source: deb.debian.org
nix profile install nixpkgs#cmphnixpkgs package indexes · pkgs/by-name/cm/cmph/package.nix · Source: api.github.com
aperçu
C minimal perfect hashing library
historique
CMPH is a C library and command-line tool for building minimal perfect hash functions. It targets static key sets where compact storage and collision-free lookup matter more than insertion or deletion.
The CMPH site frames the project around a gap in free software support for minimal perfect hashing, distinguishing it from GNU gperf by emphasizing very large key sets rather than small generated perfect-hash functions. Its documentation collects several algorithms, including CHD, BDZ, BMZ, BRZ, CHM, and FCH.
By the 1.x and 2.x news entries, CMPH had grown beyond a single algorithm implementation into a practical library with packed-function support, memory-mappable output, an external-memory BRZ path for very large sets, and an experimental C++ interface for map-like use cases.
CMPH has remained a niche but durable package because minimal perfect hashes are a specialized data-structure tool. It appears in Homebrew, Debian and Ubuntu development packages, MacPorts, Nix, Alpine, and other package collections for developers who need static dictionary or key-index construction.
Typical usage is offline construction of a hash function from a fixed key set, followed by storage or embedding of the generated function. The official examples show the C API creating a minimal perfect hash from an in-memory vector and dumping it to a file.
CMPH is the kind of package that matters disproportionately to systems and search developers: it packages academic minimal-perfect-hashing algorithms into a reusable C interface and a small CLI. Its appeal is that it turns a static corpus into dense one-probe lookup tables without hauling in a database.
posture de sécurité
library-like package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
cmph | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
métadonnées d'installation
| Clé du paquet | brew:libcmph |
|---|---|
| Version | 2.0.2 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/libcmph |
| Page d'accueil | https://cmph.sourceforge.net/ |
| Dépôt | https://sourceforge.net/p/cmph/git |
| Docs amont | https://cmph.sourceforge.net/ |
| Licence | LGPL-2.1-only OR MPL-1.1 |
| Archive source | https://downloads.sourceforge.net/project/cmph/v2.0.2/cmph-2.0.2.tar.gz |
| Dernière mise à jour | 2026-06-19T12:31:49-07:00 |
| Pulse | updated |
| Bouteille | disponible (sur arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libcmph |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
libcmph 2.0.2-r6
A minimal perfect hash C library
sudo apk add libcmphcmph
sudo port install cmphlibcmph-dev 2.0.2-3.1
C Minimal Perfect Hashing Library development files
sudo apt install libcmph-devlibcmph-tools 2.0.2-3.1
C Minimal Perfect Hashing Library command line utilities
sudo apt install libcmph-toolslibcmph0t64 2.0.2-3.1
C Minimal Perfect Hashing Library
sudo apt install libcmph0t64cmph
nix profile install nixpkgs#cmphlibcmph-dev 2.0.2-3.1build1
C Minimal Perfect Hashing Library development files
sudo apt install libcmph-devlibcmph-tools 2.0.2-3.1build1
C Minimal Perfect Hashing Library command line utilities
sudo apt install libcmph-toolslibcmph0t64 2.0.2-3.1build1
C Minimal Perfect Hashing Library
sudo apt install libcmph0t64cmph 2.0.2-r6
A minimal hash C library - utility application
sudo apk add cmphcmph-dev 2.0.2-r6
A minimal hash C library - utility application (development files)
sudo apk add cmph-devcmph-doc 2.0.2-r6
A minimal hash C library - utility application (documentation)
sudo apk add cmph-docpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.