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

Function decimal64_array_from_vec

arrow/benches/array_from.rs:87–96  ·  view source on GitHub ↗
(array: &[Option<i64>])

Source from the content-addressed store, hash-verified

85}
86
87fn decimal64_array_from_vec(array: &[Option<i64>]) {
88 hint::black_box(
89 array
90 .iter()
91 .copied()
92 .collect::<Decimal64Array>()
93 .with_precision_and_scale(17, 2)
94 .unwrap(),
95 );
96}
97
98fn decimal128_array_from_vec(array: &[Option<i128>]) {
99 hint::black_box(

Callers 1

Calls 2

iterMethod · 0.45

Tested by

no test coverage detected