Dandandan opened a new pull request, #9586:
URL: https://github.com/apache/arrow-rs/pull/9586

   ## Which issue does this PR close?
   
   Closes #9582
   
   ## Rationale
   
   StringView dictionary decoding currently goes through an intermediate index 
buffer: decode indices → gather views. For RLE runs (which are common), this 
roundtrip is unnecessary.
   
   ## What changes are included in this PR?
   
   - For RLE runs, use `repeat_n` to fill views directly, skipping the index 
buffer entirely
   - Pre-reserve output views capacity before the decode loop, eliminating 
per-chunk reallocation
   - Skip buffer management when all dictionary views are inlined (≤12 bytes)
   - Pre-reserve offsets in ByteArray dictionary decoding
   - Use branchless index clamping in view gather paths
   
   Based on #9583 (branchless clamping PR).
   
   ## Are there any user-facing changes?
   
   No.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


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