habedi/ordered
A collection of useful data structures that keep data sorted by key (WIP)
v0.1.0.tar.gz
Ordered Zig library includes implementations of popular data structures including B-tree, skip list, trie, and red-black tree.
BTreeMap
: A balanced tree map that maintains order of keys.OrderedSet
: A set with ordered elements.SkipList
: A probabilistic data structure that allows fast search, insertion, and deletion.Trie
: A prefix tree for fast retrieval of keys with common prefixes.RedBlackTree
: A self-balancing binary search tree that maintains order of keys.IMPORTANT Zig-DbC is in early development, so bugs and breaking API changes are expected. Please use the issues page to report bugs or request features.
To be added.
You can find the API documentation for the latest release of Ordered here.
Alternatively, you can use the make docs
command to generate the documentation for the current version of Ordered.
This will generate HTML documentation in the docs/api
directory, which you can serve locally with make serve-docs
and view in a web browser.
Check out the examples directory for example usages of Ordered.
See CONTRIBUTING.md for details on how to make a contribution.
Ordered is licensed under the MIT License (see LICENSE).