buaazhwb commented on issue #43573:
URL: https://github.com/apache/arrow/issues/43573#issuecomment-2283143123

   > @buaazhwb
   > 
   > > I think the builder->Resize() operation has pre-allocate space for 
offset and validity buffer. Will it be much slower than use individual offsets 
and data buffers and copy the validity buffer?
   > 
   > I think this is due to "append bit to bitmap", Copy Bitmap is just like a 
memcpy, however, append bit to bitmap is a bit-or for everybit, which would be 
slower
   
   @mapleFU got it. It seems like we need to build array data without using 
builder. Can i have a chance to optimize it after 
[#43302](https://github.com/apache/arrow/pull/43302) merged?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to