kurtoskalac opened a new pull request, #1654:
URL: https://github.com/apache/arrow-go/pull/1654

   ### Why
   
   Parquet dictionary writes build a temporary slice of byte-array headers from 
Arrow strings. In a 262,144-row Zstd write, time went from 23.74 to 16.51 ms 
with 256 distinct strings and from 47.44 to 38.23 ms when every string was 
distinct.
   Medians from ten single-core runs on Go 1.26.8 against `f1ab644`.
   
   ### What
   
   Feed Arrow value buffers and offsets directly into the byte-array dictionary 
encoder.
   
   ### Implementation
   
   Reserve index capacity per batch and visit the valid runs for nullable 
values. Use the offset range to check the batch size, scanning individual 
values when the bounds require it.
   


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