@glaebhoerl That's a pretty nice way of doing it in Rust, which doesn't really encourage these sorts of slightly domain-specific data structures, and also a good tutorial for using hashbrown's raw API.
Given the way in which deletion is used, linear probing would probably be better than the Swiss table tombstones, but sometimes you need to cook with the ingredients in the pantry. 😅
@glaebhoerl That's a pretty nice way of doing it in Rust, which doesn't really encourage these sorts of slightly domain-specific data structures, and also a good tutorial for using hashbrown's raw API.
Given the way in which deletion is used, linear probing would probably be better than the Swiss table tombstones, but sometimes you need to cook with the ingredients in the pantry. 😅