Fedora Packages

triehash

Generator for order-preserving minimal perfect hash functions in C

TrieHash generates perfect hash functions as C code which then gets compiled into optimal machine code as part of the usual program compilation. TrieHash works by translating a list of strings to a trie, and then converting the trie to a set of recursive switch statements; first switching by length, and then switching by bytes. TrieHash has various optimizations such as processing multiple bytes at once (on GNU C), and shortcuts for reducing the complexity of case-insensitive matching (ASCII only). Generated code performs substantially faster than gperf, but is larger. TrieHash was written for use in APT.

Releases Overview

Release Stable Testing
Fedora Rawhide 0.3-13.fc40 -
Fedora 40 0.3-13.fc40 -
Fedora 39 0.3-12.fc39 -
Fedora 38 0.3-11.fc38 -
EPEL 9 0.3-12.el9 -
File a new bug report »
Package Info

You can contact the maintainers of this package via email at triehash dash maintainers at fedoraproject dot org.



Sources on Pagure