JuliaArrays / JuliaArrays/StructsOfArrays.jl
Join forces with Julia 0.7 based StructArrays
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 49
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
Hi!
I've written a small package based on Julia 0.7 that does very similar things to this one. It's targeted more towards NamedTuples than general struct in order to support data tables (basically, a DataFrame could then be converted into an Array of NamedTuples stored as NamedTuple of Arrays), but I think it should be reasonably easy to combine the two functionalities.
Using Julia 0.7 there are a few goodies available, so I'm using NamedTuples rather than Tuples to store the arrays corresponding to the various fields (though I plan on supporting both options) and the field arrays can be accessed with dot overloading. You can checkout the package here, it's definitely not 100% ready but there's enough functionality implemented to get an idea.
If you think that's a good idea, I'd be happy to start maintaining this package instead and create a Julia v0.7 branch where I can develop the new ideas (NamedTuples + dot overloading + implementing some other array operations). Unless you have planned new features for Julia 0.6 I think the development could be pretty much Julia 0.7 targeted.
Cheers,
Pietro
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 the existing StructsOfArrays.jl repository and the linked StructArrays.jl package to compare their current functionality and Julia version targets. The issue proposes combining NamedTuples, dot overloading, and additional array operations; done would require an agreed scope and an implemented Julia 0.7-compatible direction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100