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

iterate lazy rows? #187

Open
piever opened this issue Sep 8, 2018 · 0 comments
Open

iterate lazy rows? #187

piever opened this issue Sep 8, 2018 · 0 comments

Comments

@piever
Copy link
Collaborator

piever commented Sep 8, 2018

Tables.jl uses a lazy row type (basically a custom type that has the original table and the index of the row) instead of materializing the whole NamedTuple. I was wondering whether we should do the same here. It has the advantage that map(i -> i.x+i.y, t) would already be efficient (at least in the non distributed case) without having to explicitly having to type map(i -> i.x+i.y, t, select = (:x, :y)). We could then drop our collect_columns code and use the mechanism at Tables (see here).

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