mapleFU opened a new issue, #45594:
URL: https://github.com/apache/arrow/issues/45594

   ### Describe the enhancement requested
   
   memcpy a short string multiple times is slow. `DeltaLengthByteArray` stores 
all payload together, so the payload can be copied once.
   
   Previous: 
https://github.com/apache/arrow/blob/main/cpp/src/parquet/decoder.cc#L1678-L1713
   
   New:
   1. Add a builder method for "Build with offsets" or "Build with length", and 
put whole buffer
   2. Copying the data once
   
   I've verified that this can bring Decoder 4x faster
   
   
   ### Component(s)
   
   C++, Parquet


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

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

Reply via email to