In many places of this project, there's heavy use of the BTreeMap from rust collection.
The scapegoat crate could help with performance by using stack allocated array for small maps.
The API of the crates looks very similar to BTreeMap's one, it shouldn't be too difficult to make the switch.
In many places of this project, there's heavy use of the BTreeMap from rust collection.
The scapegoat crate could help with performance by using stack allocated array for small maps.
The API of the crates looks very similar to BTreeMap's one, it shouldn't be too difficult to make the switch.