Dandandan opened a new issue, #19961: URL: https://github.com/apache/datafusion/issues/19961
### Is your feature request related to a problem or challenge? There seem some opportunities for optimizing `ArrowBytesViewMap` using some more cleverness. For e.g. ClickBench query 5, >50% CPU is spent during `intern`: <img width="1728" height="125" alt="Image" src="https://github.com/user-attachments/assets/18b07fd2-a39f-4a29-884e-6562e20b1985" /> A lot of it relates to getting / comparing the bytes from the buffers, etc (append_value, get_value, memcmp, etc.). ``` <img width="1366" height="181" alt="Image" src="https://github.com/user-attachments/assets/4a84138e-97e8-49d6-8df1-7b6fae0811c6" /> ``` ### Describe the solution you'd like We should be able to avoid (re)creating views every time and comparing against slices, by storing/comparing the views directly, and avoiding the overhead of the `GenericByteViewBuilder` methods. ### 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
