griddle icon indicating copy to clipboard operation
griddle copied to clipboard

Implement missing APIs

Open jonhoo opened this issue 4 years ago • 0 comments

For the initial prototyping, a number of APIs were left out. These should be added back in (ordered roughly in order of difficulty):

  • [x] Entry API\
    • [x] OccupiedEntry::replace_*
  • [x] serde and rayon support
  • [ ] RawEntry API
  • [ ] The Drain iterators
  • [x] The reserve and shrink methods (and their siblings)
  • [x] Support for the Extend trait
  • [x] HashSet

In general, doing a diff between src/map.rs and hashbrown/src/map.rs should get you quite far. Remember to also add the corresponding tests!

jonhoo avatar Jun 30 '20 01:06 jonhoo