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

Differences with StructArrays.jl? #21

Open
gdalle opened this issue Dec 15, 2021 · 1 comment
Open

Differences with StructArrays.jl? #21

gdalle opened this issue Dec 15, 2021 · 1 comment

Comments

@gdalle
Copy link

gdalle commented Dec 15, 2021

Hi!
I might be interested in this package, but for now I struggle to see the difference with https://github.com/JuliaArrays/StructArrays.jl, could you enlighten me?
Thanks!

@cscherrer
Copy link
Owner

Sure :)

The approach is very similar from a high level. Here are some differences:

  • Specialization to nested named tuples
  • @with macro from NestedTuples.jl extended to work on TupleVectors. This is fast and very expressive
  • We use ElasticArrays and ArraysOfArrays to make it easy to push! to a TupleVector
  • show method specialized for brief summary

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

2 participants