You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When implementing functions, ColumnarValue::into_array / ScalarValue::to_array / ScalarValue::to_array_of_size are useful to reduce code complexity and denominate input arguments in terms of an array (either full-sized or 1-sized).
it's not optimized for the common case of input array (the scalar) being of length 1 and requested length also being 1.
In such case it could probably be reduced to Arc::clone
Activity
[-]Optimize ColumnarValue::into_array / ScalarValue::to_array / ScalarValue::to_array_of_size[/-][+]Optimize `ColumnarValue::into_array` / `ScalarValue::to_array` / `ScalarValue::to_array_of_size`[/+]