Use the safer VArraySpan instead of get_internal_span(). And remove the size check for the output data. If the callback inside `ensure` is called it means that recomputing the data is necessary, regardless of the array's current size.
Use the safer VArraySpan instead of get_internal_span(). And remove the size check for the output data. If the callback inside `ensure` is called it means that recomputing the data is necessary, regardless of the array's current size.