Stefan Krah added the comment: David is correct: No data is copied, but new memoryview objects with different shape and strides are created. That is relatively cheap.
---------- nosy: +skrah resolution: -> invalid stage: -> committed/rejected status: open -> closed type: enhancement -> behavior _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19686> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com