Rachelint commented on PR #12395: URL: https://github.com/apache/datafusion/pull/12395#issuecomment-2365130100
Seems cpu mainly costs in three places: - Allocating memory for the `pattern` on row level(the bottleneck) https://github.com/Rachelint/arrow-datafusion/blob/65ef9887bfe87d1051c24d58f5fdaa6c6c1b7e41/datafusion/functions/src/string/common.rs#L80 - `make_and_append_view` function mentioned above - `is_null` function in the `ArrayIter` -- 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