Crates.io | arena-graph |
lib.rs | arena-graph |
version | 0.1.0 |
source | src |
created_at | 2020-10-13 01:48:12.106935 |
updated_at | 2020-10-13 01:48:12.106935 |
description | a questionable library for arena-allocated graphs |
homepage | |
repository | https://github.com/rust-lang/cargo/ |
max_upload_size | |
id | 299007 |
size | 7,583 |
A library for constructing fast, pointer-based graphs in Rust. A lil hacky, and my understanding of variance is dubious at best, so consult your local lifetime specialist before using. Useful if your graph has the following properties:
&
access to nodes once they've been added, and can use mutexes or cells to handle mutationCell<bool>
that indicates deleted status is fine, as is creating a linked list of deleted nodes for recycling)Still need to write documentation, but you can check out anchors if you're interested in seeing this in action.