// We use AlignedVec because it is way faster than Arrows builder. We can do this because we
// know we don't have null values.
We use AlignedVec because it is way faster than Arrows builder. We can do this because we
know we don't have null values.
We use AlignedVec because it is way faster than Arrows builder . We can do this because we know we don ' t have null values .
fn from_iter_trusted_length<I: IntoIterator<Item = T::Native>>(iter: I) -> Self {
        let iter = iter.into_iter();
        let values = unsafe { Buffer::from_trusted_len_iter_unchecked(iter) };
        let arr = PrimitiveArray::from_data(T::get_dtype().to_arrow(), values, None);
        NoNull::new(ChunkedArray::new_from_chunks("", vec![Arc::new(arr)]))
    }
fn from_iter_trusted_length < I : IntoIterator < Item = T :: Native > > ( iter : I ) -> Self { let iter = iter . into_iter ( ) ; let values = unsafe { Buffer :: from_trusted_len_iter_unchecked ( iter ) } ; let arr = PrimitiveArray :: from_data ( T :: get_dtype ( ) . to_arrow ( ) , values , None ) ; NoNull :: new ( ChunkedArray :: new_from_chunks ( " " , vec ! [ Arc new ( arr ) ] ) ) }
We use AlignedVec because it is way faster than Arrows builder.
We use AlignedVec because it is way faster than Arrows builder .
iter
I