10:14
I am not fluent in low-level MathLink and I have to experiment and read docs every time before doing something like this.
However, my impression was that transferring an array through a link does not unpack it.
If a given thing is put on a link, there are usually multiple ways to retrieve it. E.g. if you put an integer, you get still get a string (a string representation of the integer).
I'd assume that if you put a Real
packed array, the optimal way to get it would be MLGetReal64Array
I don't have the time to test these things right now.
Why do you think the kernel unpacks?