Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Join forces with Julia 0.7 based StructArrays #12

Open
piever opened this issue Apr 20, 2018 · 0 comments
Open

Join forces with Julia 0.7 based StructArrays #12

piever opened this issue Apr 20, 2018 · 0 comments

Comments

@piever
Copy link

piever commented Apr 20, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant