JuliaData / JuliaData/PooledArrays.jl
implement compactpool! and compactpool functions
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 49
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Currently there is no API to compact pool of PooledArray. This can be needed in two cases:
- you removed many values from a
PooledArrayand want to have a smaller pool - you subsetted a
PooledArraythus dropping many unique values
This should be implemented after #56 is merged.
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 reviewing issue #56 and the current PooledArray implementation, since this work is explicitly dependent on it. Define the compactpool! and compactpool APIs for removing unused pooled values after deletions or subsetting, and consider the work done when the pool is reduced without changing the array's values.
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