You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "pitrou (via GitHub)" <gi...@apache.org> on 2024/02/27 16:52:28 UTC

Re: [PR] GH-39439 [C++][Gandiva] Add regexp_like [arrow]

pitrou commented on PR #39441:
URL: https://github.com/apache/arrow/pull/39441#issuecomment-1967099040

   > Despite belonging to the latter group, these functions still undergo JIT compilation before they can be utilized.
   
   Right. But that function just calls into `re2`, and `re2` won't be JIT-compiled (i.e. the code won't be specialized for the particular regular expression). You're just JIT-compiling the stub, not the actual workhorse.
   
   That said, I don't object this either if this makes Gandiva somehow easier to use. It's just that using Gandiva for regular expression matching will not bring any performance improvements over calling `re2` directly (for example using https://arrow.apache.org/docs/cpp/compute.html#containment-tests).


-- 
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-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org