Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Critbit trees in C
C C++
Branch: master

Merge pull request #4 from jasondavies/typo

Fix typo: "PATRICA" -> "PATRICIA".
latest commit 4bb69901a9
@agl authored


This code is taken from Dan Bernstein's qhasm and implements a binary
crit-bit (alsa known as PATRICIA) tree for |NUL| terminated strings. Crit-bit
trees are underused and it's this author's hope that a good example will aid
their adoption.

Herein is the CWEB source (critbit.w) and the derived files (critbit.pdf and
critbit.c) for those who don't wish to install CWEB and/or TeX.

If in doubt, read the PDF file.
Something went wrong with that request. Please try again.