You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "alamb (via GitHub)" <gi...@apache.org> on 2026/04/27 13:37:11 UTC

Re: [I] Remove redundant zero-initialization in Arrow IPC reader hot paths [arrow-rs]

alamb commented on issue #9777:
URL: https://github.com/apache/arrow-rs/issues/9777#issuecomment-4327413219

   Status update here:
   - in https://github.com/apache/arrow-rs/pull/9778 @pchintar  found that using `Vec` was a very effective way to increase performance substantially without `unsafe` and take advantage of all Rust's built in optimizations for Vec
   - However, the way the code is currently structured, it uses a `Vec<u8>`  which may require an extra copy for realignment -- see details [here](https://github.com/apache/arrow-rs/pull/9778#issuecomment-4317014806))
   - We have an idea of how to use `Vec<T>` instead of `Vec<u8>` but that will require more substantial code changes -- see details [here](https://github.com/apache/arrow-rs/pull/9778#issuecomment-4320404430)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org