alamb commented on issue #1041:
URL: 
https://github.com/apache/arrow-datafusion/issues/1041#issuecomment-925701520


   As @jorgecarleitao  and @Dandandan  have mentioned, the "simd" feature is 
somewhat misleadingly named, as it may imply that SIMD instructions (e.g. AVX2, 
etc) are not used unless that feature is enabled, which is not the case.
   
   Normally the rust compiler will attempt to use SIMD instructions 
automatically (so called "auto vectorization"), and the suggestion at the link 
@Dandandan mentions of using `RUSTFLAGS='-C target-cpu=native'` is probably 
your best bet to take full advantage of those instructions. 
   
   The "simd" feature enables several handwritten arrow kernels that explicitly 
use SIMD intrinsics rather than relying on the rust compiler to do so. 


-- 
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