A FORTRAN array should work. The pixelcopy routines do understand array strides.

On 16-12-24 10:25 AM, Russell Jones wrote:

On 24 December 2016 at 17:39, Mikhail V <mikhail...@gmail.com <mailto:mikhail...@gmail.com>> wrote:

    The problem is however, transpose adds overhead, ca. 10-15%
    performance hit,

Have you played with order='FORTRAN'? See
https://docs.scipy.org/doc/numpy/reference/generated/numpy.isfortran.html


Reply via email to