Expand description

Persistent Arena & related items

An Arena is a data structure that maps EntryIds to values of some type.

When you insert an item, you get the corresponding ID, and that ID won’t change for as long as the item stays in the Arena. You can then retrieve or remove an item by its ID.

This is useful for building graph-like data structures – for example, you can describe the relationships between nodes by using their IDs. The tree and graph datastructures in this library are built on top of this Arena.

Structs

A persistent Arena – a collection of items with stable IDs

Iterator over all items in an Arena

The ID of an entry in an Arena