You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A collection of data structures that keep data in order
18
+
A collection of data structures that keep data in order in pure Zig
18
19
19
20
</div>
20
21
21
22
---
22
23
23
-
Ordered library includes fast and efficient implementations of popular data structures including
24
+
Ordered is a Zig library that provides fast and efficient implementations of various popular data structures including
24
25
B-tree, skip list, trie, and red-black tree for Zig programming language.
25
26
26
27
### Supported Data Structures
27
28
28
29
Currently supported data structures include:
29
30
30
-
-[B-tree](src/ordered/btree_map.zig): a balanced n-array tree that maintains the order of keys.
31
-
-[Sorted set](src/ordered/sorted_set.zig): a set with ordered elements based on keys.
32
-
-[Skip list](src/ordered/skip_list.zig): a probabilistic data structure that maintains sorted order using multiple linked lists.
33
-
-[Trie](src/ordered/trie.zig): a prefix tree that supports efficient retrieval of keys with common prefixes.
34
-
-[Red-black tree](src/ordered/red_black_tree.zig): A self-balancing binary search tree that maintains the order of keys
35
-
-[Cartesian tree](src/ordered/cartesian_tree.zig): A binary tree that maintains both a binary search tree property on keys and a heap property on priorities.
31
+
-[B-tree](src/ordered/btree_map.zig): A self-balancing search tree where nodes can have many children.
32
+
-[Sorted Set](src/ordered/sorted_set.zig): A data structure that stores a collection of unique elements in a consistently sorted order.
33
+
-[Skip List](src/ordered/skip_list.zig): A probabilistic data structure that uses multiple linked lists to create "express lanes" for fast, tree-like search.
34
+
-[Trie](src/ordered/trie.zig): A tree where paths from the root represent prefixes which makes it extremely fast for tasks like text autocomplete.
35
+
-[Red-black Tree](src/ordered/red_black_tree.zig): A self-balancing binary search tree that uses node colors to guarantee efficient operations.
36
+
-[Cartesian Tree](src/ordered/cartesian_tree.zig): A binary tree that uniquely combines a binary search tree property for its keys with a heap** property for its values.
0 commit comments