[FEA] Add an insert function that takes separate key/value iterators.
Open
Nobody has claimed this yet.
P3: Backlog
type: feature request
- Dominant language
- Cuda
- Stars
- 667
- Forks
- 120
- Avg merge
- 7d 5h
- Merged PRs (30d)
- 4
Description
currently takes an iterator of zipped (key, value) pairs. This requires additional work at the caller side.
something like
void insert(KeyIt key_first, KeyIt key_last, ValueIt value_first, Hash hash = Hash{}, KeyEqual key_equal = KeyEqual{});
will be more convenient.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with include/cuco/static_map.cuh around line 200 and inspect the existing insert overload that accepts zipped key/value pairs. Add the requested separate key and value iterator entry point while preserving the current API; done means callers can provide independent iterator ranges for keys and values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- api, hpc
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100