JuliaCollections / JuliaCollections/DataStructures.jl
Trie should not be specific to subclasses of `AbstractString`
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 745
- Forks
- 261
- PR merge metrics
- No merged PRs in 30d
Description
Tries work find for any collection of elements of a free monoid (I think I have that term right).
Not just strings,
but also things like arrays of Ints.
Technically arrays of Float64s but that causes other problems.
Wikipedia gets several examples on nonstrings.
I haven't have a close look at the code, but it seems like this is simply a matter of relaxing a type constraint.
Particularly since these are uncompressed dict based Tries.
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 Trie implementation and reviewing where it constrains keys to AbstractString. Compare its behavior with a collection of Ints, then identify tests covering non-string element collections. Done means Trie operations support such collections without breaking existing string behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100