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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to