MCPcopy Create free account
hub / github.com/apache/arrow-rs / append_slice

Method append_slice

arrow-array/src/builder/primitive_builder.rs:242–245  ·  view source on GitHub ↗
(&mut self, v: &[T::Native])

Source from the content-addressed store, hash-verified

240 /// Appends a slice of type `T` into the builder
241 #[inline]
242 pub fn append_slice(&mut self, v: &[T::Native]) {
243 self.null_buffer_builder.append_n_non_nulls(v.len());
244 self.values_builder.extend_from_slice(v);
245 }
246
247 /// Appends values from a slice of type `T` and a validity boolean slice
248 ///

Calls 3

append_n_non_nullsMethod · 0.80
extend_from_sliceMethod · 0.80
lenMethod · 0.45