You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/09/15 09:01:07 UTC

[GitHub] [arrow] jorgecarleitao commented on a change in pull request #8191: ARROW-10010: [Rust] Speedup arithmetic (1.3-1.9x)

jorgecarleitao commented on a change in pull request #8191:
URL: https://github.com/apache/arrow/pull/8191#discussion_r488504283



##########
File path: rust/arrow/src/compute/kernels/arithmetic.rs
##########
@@ -170,7 +225,7 @@ where
     // Create the combined `Bitmap`
     let null_bit_buffer =
         combine_option_bitmap(left.data_ref(), right.data_ref(), left.len())?;
-    let bitmap = null_bit_buffer.map(Bitmap::from);
+    let bitmap = null_bit_buffer.clone().map(Bitmap::from);

Review comment:
       Maybe not, but I was unable to get a bitmap reference to set the mask for SIMD from a buffer without `clone`.




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

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