XiangpengHao commented on PR #12027: URL: https://github.com/apache/datafusion/pull/12027#issuecomment-2295438565
> fastest being the direct approach, followed by StringArrayType StringArrayType is just a trait and the code should compile to the same binary as direct approach thus same performance. Not sure why it is 2x slower than direct approach for `using_loop`. With that said, I think most of the functions in `StringArrays` can be implemented as trait functions in `StringArrayType`, thus avoiding the overhead but still having a uniform interface. Last thoughts: I'm not sure if we want to introduce an easy-to-use but expensive api. -- 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