abacef commented on issue #7297:
URL: https://github.com/apache/arrow-rs/issues/7297#issuecomment-3063425918

   I added some benches in the above PR. using `::from` is faster for these 
cases. 
   
   ```
   primitive_array_into_no_null          time:   [10.052 µs 10.181 µs 10.423 µs]
   builder_no_null                       time:   [310.80 µs 311.41 µs 312.16 µs]
   primitive_array_into                  time:   [290.83 µs 291.67 µs 292.61 µs]
   builder                               time:   [601.88 µs 608.93 µs 618.89 µs]
   ```
   
   What other cases can be tried?


-- 
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: github-unsubscr...@arrow.apache.org

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

Reply via email to