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 06:51:15 UTC

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

nevi-me commented on a change in pull request #8191:
URL: https://github.com/apache/arrow/pull/8191#discussion_r488426215



##########
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:
       Is this clone necessary?




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