Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> devel >> triehash
nabia  ] [  aramo  ]
[ 原始碼: triehash  ]

套件: triehash (0.3-2)

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 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下載 triehash

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 11.9 kB41 kB [文件列表]