JuliaCollections / JuliaCollections/DataStructures.jl
SortedDict missing mergewith
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 745
- Forks
- 261
- PR merge metrics
- No merged PRs in 30d
Description
SortedDict currently does not implement the Base functions mergewith and mergewith!. So mergewith of two SortedDicts treats them both as AbstractDict and returns a Dict instead of a SortedDict.
Additional missing methods from Base.
map!(f, values(s::SortedDict))first(a,n)andlast(a,n)where a is a sorted container and n is an integer.filterfor SortedDict and SortedMultiDict- 'pairs' for SortedDict and SortedMultiDict
Contributor guide
No contributing guide indexed for this repository
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 by locating the SortedDict and SortedMultiDict implementations and comparing their available methods with the listed Julia Base functions. Check how mergewith, map!, first, last, filter, and pairs behave for related sorted containers. Done means the requested methods work for the specified types and preserve the expected sorted-container result types.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100