radixdb 0.2.0

a radix tree data structure for in memory or zero copy on disk storage
Documentation

A radix tree data structure

A radix tree is a map data structure that has fast and memory efficient storage of keys that have common prefixes. It can be used as a set by using a unit value.

This radix tree is using blobs as keys and values. A common use case is to use UTF-8 strings as keys.

Basic usage

Basic usage is not that different from using a std collection such as BTreeMap.

Advanced usage

You can provide a custom store for a radix tree, which can be either a contiguous slice of memory, a file on disk, or a custom storage backend. Custom storage backends are enabled using the custom-storage feature.

The storage can be fallible, e.g. when reading from a disk or network.