Le jeudi 31 juillet 2014 à 14:03 -0700, John Myles White a écrit :
> Exactly. But we generally move over to Array{Float64} before calling
> OpenBLAS anyway, so that's not necessarily a fatal problem. Just
> something that needs to be approached with caution.
Except that the current layout of DataArray allows passing the
underlying array to BLAS without any copy if no NAs are present. With
fast array views, it would also be possible to select a subset of the
DataArray where no NA appears, and pass it to BLAS without any copy. It
could even be modified in-place.

So the memory gain offered by DataArrays compared with arrays of option
types is not negligible if people need to do computations from such
data. (Whether this is common in practice remains to see. :-)


My two cents

Reply via email to