This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients benjamin.peterson, christian.heimes, doko, ned.deily, serhiy.storchaka, skrah, vstinner, ztane
Date 2016-09-14.10:01:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I see. No, most NumPy arrays are C-contiguous. Multi-dimmensional arrays
are contiguous, too.

Non C-contiguous arrays arise mostly during slicing or if they're
Fortran-order to begin with.

But NumPy aside, it's weird to have slice of a huge regular bytes view
(this particular slice is still C-contiguous) that is suddenly copied
because the alignment requirements changed.

I really prefer a simple rule for memoryview: If the data is C-contiguous,
you get the fast path.
Date User Action Args
2016-09-14 10:01:53skrahsetrecipients: + skrah, doko, vstinner, christian.heimes, benjamin.peterson, ned.deily, serhiy.storchaka, ztane
2016-09-14 10:01:53skrahsetmessageid: <>
2016-09-14 10:01:53skrahlinkissue28055 messages
2016-09-14 10:01:53skrahcreate