Rachelint commented on PR #15591: URL: https://github.com/apache/datafusion/pull/15591#issuecomment-2888248441
OK... I guess it is due to the computation of `block_id` and `block_offset`. I found a machine with similar cores and profiling. Then I found in the old and so good intel core, the `/` and `%` are really expansive. I am trying to optimize it. ```rust impl GroupIndexOperations for BlockedGroupIndexOperations { fn get_block_id(group_index: usize, block_size: usize) -> usize { group_index / block_size } fn get_block_offset(group_index: usize, block_size: usize) -> usize { group_index % block_size } } ``` ``` -- 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 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