Movatterモバイル変換


[0]ホーム

URL:


homepage

Message276411

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Authorskrah
Recipientsbenjamin.peterson, christian.heimes, doko, ned.deily, serhiy.storchaka, skrah, vstinner, ztane
Date2016-09-14.10:01:53
SpamBayes Score-1.0
Marked as misclassifiedYes
Message-id<1473847313.49.0.394099287528.issue28055@psf.upfronthosting.co.za>
In-reply-to
Content
I see. No, most NumPy arrays are C-contiguous. Multi-dimmensional arraysare contiguous, too.Non C-contiguous arrays arise mostly during slicing or if they'reFortran-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 copiedbecause the alignment requirements changed.I really prefer a simple rule for memoryview: If the data is C-contiguous,you get the fast path.
History
DateUserActionArgs
2016-09-14 10:01:53skrahsetrecipients: +skrah,doko,vstinner,christian.heimes,benjamin.peterson,ned.deily,serhiy.storchaka,ztane
2016-09-14 10:01:53skrahsetmessageid: <1473847313.49.0.394099287528.issue28055@psf.upfronthosting.co.za>
2016-09-14 10:01:53skrahlinkissue28055 messages
2016-09-14 10:01:53skrahcreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp