Skip to content

Conversation

@folkertdev
Copy link
Contributor

based on this issue we can now allocate hash maps in a bumpalo arena. It's pretty verbose for now, but it does seem to work.

Copy link
Contributor

@rtfeldman rtfeldman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! 🚀


pub type SendSet<K> = im::hashset::HashSet<K, BuildHasher>;

pub type BumpMap<'a, K, V> = hashbrown::HashMap<K, V, BuildHasher, hashbrown::BumpWrapper<'a>>;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great name! 😄

@rtfeldman rtfeldman merged commit 6a0014f into trunk Apr 18, 2021
@rtfeldman rtfeldman deleted the bump-hashbrown branch April 18, 2021 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants