Y
Hacker News
new
|
ask
|
show
|
jobs
by
whyever
863 days ago
The arguably idiomatic way to implement such structures in Rust is to use arrays and indices, see crates like petgraph. It's probably faster as well, because there are less allocations and memory locality is better.