Dandandan opened a new issue, #16179: URL: https://github.com/apache/datafusion/issues/16179
### Is your feature request related to a problem or challenge? Currently we save indices to the batch always as `u64` in the `HashTable` and in the `next` `Vec`. If we have less than `u32:MAX` (4.2B, i.e. most of the time) items, we can store them as `u32` - which should make it fit more easily in the CPU cache. ### Describe the solution you'd like * Implement optimization to store indices as `u32` if possible. * Run benchmarks ### Describe alternatives you've considered _No response_ ### Additional context _No response_ -- 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: github-unsubscr...@datafusion.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org