Skip to content

Conversation

@PointKernel
Copy link
Member

@PointKernel PointKernel commented Feb 2, 2026

This PR promotes cuco::experimental::dynamic_map to cuco::dynamic_map and removes the legacy implementation.

Changes:

  • Added erase, find, contains, retrieve_all methods
  • Added size(), capacity(), load_factor() getters
  • Added sentinel and hash function getters (empty_key_sentinel(), erased_key_sentinel(), key_eq(), hash_function())
  • Updated all tests and benchmarks to use the new API
  • Added insert_or_assign

Closes #732

@PointKernel PointKernel added type: feature request New feature request topic: dynamic_map Issue related to the dynamic_map labels Feb 2, 2026
@PointKernel
Copy link
Member Author

@sleeepyjack should we remove legacy dynamic_map directly in this PR so we can start deprecating the legacy static_map next (which is used by the legacy dynamic_map)?

@PointKernel PointKernel added the Needs Review Awaiting reviews before merging label Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review Awaiting reviews before merging topic: dynamic_map Issue related to the dynamic_map type: feature request New feature request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ENHANCEMENT]: dynamic_map::insert_or_assign

1 participant