tyrelr commented on a change in pull request #9304:
URL: https://github.com/apache/arrow/pull/9304#discussion_r563185759



##########
File path: rust/arrow/src/buffer.rs
##########
@@ -241,6 +241,67 @@ impl<T: AsRef<[u8]>> From<T> for Buffer {
     }
 }
 
+/// Creating a `Buffer` instance by storing the boolean values into the buffer
+impl std::iter::FromIterator<bool> for Buffer {
+    fn from_iter<I>(iter: I) -> Self

Review comment:
       TODO: forward to the MutableBuffer implementation, since it doesn't look 
like there will be a performance penalty.




----------------------------------------------------------------
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:
[email protected]


Reply via email to