Shockp commented on issue #48561:
URL: https://github.com/apache/arrow/issues/48561#issuecomment-5442719810

   Also I am reading the code to understand the problem. And I arrived to this 
conclusion: Should count perhaps be fused with FindMinMax() instead of with 
decoding?
   
   Something like this:
   
   ```
   for (...) {
       min = ...;
       max = ...;
       matching += levels[i] == target;
   }
   ```
   
   So we would have:
   
   ```
   decode/write
         ↓
   validation + count
   ```
   
   Rather than: 
   
   ```
   decode/write
         ↓
   validation
         ↓
   count
   ```
   
   I will investigate both approaches. Not sure about your opinion.


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