Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> libs >> libcritnib1
aramo  ]
[ 原始碼: critnib  ]

套件: libcritnib1 (1.1-2)

ordered map data structure with lock-free reads

Critnib is a data structure that provides a very fast equal and less-than/greater-than searches; it is a mix between DJBerstein's critbit and radix trees. While in bad cases it has worse memory use than binary trees, it works well on real-life data which tends to have a limited number of "decision bits":

 * fully random: divergence happens immediately
 * malloc addresses: clumps of distinct bits in the middle
 * sequences: only lowest bits are filled

This library ships only uintptr_t→uintptr_t mappings, optimized for reads from a very critical section but not so frequent writes. Other variants also exist (such as fully lock-free writes, keys of arbitrary length), and can be added upon request.

其他與 libcritnib1 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: libc6 (>= 2.17) [arm64, ppc64el]
    GNU C Library: Shared libraries
    同時作為一個虛擬套件由這些套件提供: libc6-udeb
    dep: libc6 (>= 2.2.5) [amd64]
    dep: libc6 (>= 2.4) [armhf]

下載 libcritnib1

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
amd64 7.2 kB32 kB [文件列表]
arm64 7.1 kB24 kB [文件列表]
armhf 6.2 kB24 kB [文件列表]
ppc64el 9.5 kB80 kB [文件列表]