Skip to content
Sections
>> Trisquel >> 软件包 >> aramo >> libdevel >> libcritnib-dev
aramo  ]
[ 源代码: critnib  ]

软件包: libcritnib-dev (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.

This package contains the development headers.

其他与 libcritnib-dev 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: libcritnib1 (= 1.1-2)
    ordered map data structure with lock-free reads

下载 libcritnib-dev

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
amd64 5.8 kB20 kB [文件列表]
arm64 5.8 kB20 kB [文件列表]
armhf 5.8 kB20 kB [文件列表]
ppc64el 5.8 kB20 kB [文件列表]