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

Function decimal128_array_from_vec

arrow/benches/array_from.rs:98–107  ·  view source on GitHub ↗
(array: &[Option<i128>])

Source from the content-addressed store, hash-verified

96}
97
98fn decimal128_array_from_vec(array: &[Option<i128>]) {
99 hint::black_box(
100 array
101 .iter()
102 .copied()
103 .collect::<Decimal128Array>()
104 .with_precision_and_scale(34, 2)
105 .unwrap(),
106 );
107}
108
109fn decimal256_array_from_vec(array: &[Option<i256>]) {
110 hint::black_box(

Callers 1

Calls 2

iterMethod · 0.45

Tested by

no test coverage detected