Dandandan commented on issue #4482:
URL: 
https://github.com/apache/arrow-datafusion/issues/4482#issuecomment-1342165537

   > @Dandandan may I try this?
   > 
   > test to reproduce
   > 
   > ```
   >     #[test]
   >     fn bench_is_distinct_from() {
   >         let max = 1_000_000_000;
   >         let l_array: &[Option<i128>] = &(0 .. max).map(|v| 
Some(v)).collect::<Vec<Option<i128>>>();
   >         let r_array: &[Option<i128>] = &(0 .. max).map(|v| 
Some(v+1)).collect::<Vec<Option<i128>>>();
   >         println!("Elapsed: {:.2?}", elapsed);
   > 
   >         let left_array = create_decimal_array(l_array, 10, 1);
   >         let right_array = create_decimal_array(r_array, 1, 1);
   > 
   >         use std::time::Instant;
   >         let now = Instant::now();
   >         is_distinct_from(&left_array, &right_array);
   >         let elapsed = now.elapsed();
   >         println!("Elapsed: {:.2?}", elapsed);
   >     }
   > ```
   > 
   > 1_000_000_000 -> `Elapsed: 174.09s` Cant say for mem usage for now. I'll 
update on rewrite results.
   
   Sure, that would be awesome 😎


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