Skip to content
Sections
>> Trisquel >> Packages >> aramo >> devel >> triehash
nabia  ] [  aramo  ]
[ Source: triehash  ]

Пакунок: triehash (0.3-3)

Generates perfect hash functions as native machine code

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.

Інші пакунки пов'язані з triehash

  • depends
  • recommends
  • suggests
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

Завантажити triehash

Завантаження для всіх доступних архітектур
Архітектура Розмір пакунка Розмір після встановлення Файли
all 12.1 kB41 kB [список файлів]