Crates.io | iradix |
lib.rs | iradix |
version | 0.0.1 |
source | src |
created_at | 2023-11-17 12:48:44.18898 |
updated_at | 2023-11-17 12:57:50.232021 |
description | A placeholder |
homepage | https://github.com/al8n/iradix |
repository | https://github.com/al8n/iradix |
max_upload_size | |
id | 1039066 |
size | 64,375 |
Porting Go's go-immutable-radix
to Rust. Provides the iradix
package that implements an immutable radix tree.
English | 简体中文
The package only provides a single Tree
implementation, optimized for sparse nodes.
As a radix tree, it provides the following:
O(k)
operations. In many cases, this can be faster than a hash table since
the hash function is an O(k)
operation, and hash tables have very poor cache locality.
Minimum / Maximum value lookups
Ordered iteration
A tree supports using a transaction to batch multiple updates (insert, delete) in a more efficient manner than performing each operation one at a time.
[dependencies]
iradix = "0.1"
iradix
is under the terms of the Mozilla Public License (Version 2.0).
See LICENSE for details.
Copyright (c) 2023 Al Liu.
Copyright (c) 2015 HashiCorp, Inc.