Dandandan opened a new issue, #9587:
URL: https://github.com/apache/arrow-rs/issues/9587

   ## Summary
   
   Pre-reserve `output.views` and `output.offsets` capacity before the 
dictionary decode loop to avoid per-chunk reallocation during `extend`.
   
   This is a small, independent optimization split out from the broader 
StringView dictionary decoding work (#9582).
   
   ## Changes
   
   - Reserve `output.views` capacity in `ByteViewArrayDecoderDictionary::read` 
   - Reserve `output.offsets` capacity in `ByteArrayDecoderDictionary::read`
   
   ## Expected improvement
   
   ~3-25% improvement for dictionary-encoded StringView/BinaryView/String reads 
depending on the encoding.


-- 
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