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

ARROW-10946: [Rust] Simplified bit chunk iterator #8942

Closed
wants to merge 1 commit into from
Closed

ARROW-10946: [Rust] Simplified bit chunk iterator #8942

wants to merge 1 commit into from

Conversation

jorgecarleitao
Copy link
Member

This PR makes the bit chunk iterator not depend on a Buffer, since we were only using it to keep track of the lifetime, and we can just use a byte slice for it.

@github-actions
Copy link

@Dandandan
Copy link
Contributor

LGTM 👍 I like the simplification. Any (expected) change in performance?

I think the CI is failing because of a change for parquet that was just reverted. So I guess it will just succeed in the new run.

@jhorstmann
Copy link
Contributor

Looks good 👍

@jorgecarleitao
Copy link
Member Author

Any (expected) change in performance?

Nop, slice.as_ptr() is constant, which is the only call that was changed on the iteration.

@nevi-me nevi-me closed this in 22f06bb Dec 22, 2020
@jorgecarleitao jorgecarleitao deleted the improve_chunk_iter branch December 22, 2020 05:23
Dandandan pushed a commit to Dandandan/arrow that referenced this pull request Dec 22, 2020
This PR makes the bit chunk iterator not depend on a `Buffer`, since we were only using it to keep track of the lifetime, and we can just use a byte slice for it.

Closes apache#8942 from jorgecarleitao/improve_chunk_iter

Authored-by: Jorge C. Leitao <jorgecarleitao@gmail.com>
Signed-off-by: Neville Dipale <nevilledips@gmail.com>
GeorgeAp pushed a commit to sirensolutions/arrow that referenced this pull request Jun 7, 2021
This PR makes the bit chunk iterator not depend on a `Buffer`, since we were only using it to keep track of the lifetime, and we can just use a byte slice for it.

Closes apache#8942 from jorgecarleitao/improve_chunk_iter

Authored-by: Jorge C. Leitao <jorgecarleitao@gmail.com>
Signed-off-by: Neville Dipale <nevilledips@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants