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

   ### What
   Unify changing dictionary chunks incrementally in `unique`.
   
   ### Why
   The current path rebuilds and rehashes the accumulated dictionary for each 
changed chunk.
   
   ### Implementation
   - Keep one dictionary unifier and remap each chunk's indices.
   - Build the output dictionary once after all chunks.
   
   ### Benchmark
   - `BenchmarkUniqueChunkedChangingDictionaries/chunks=256`, Go 1.26.3, Apple 
M1 Pro, median of 5: 59.99 ms/op → 1.64 ms/op (36.6x); 117.7 MB/op → 1.82 MB/op 
(98.5% fewer bytes).
   


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