[NumPy-Tickets] [NumPy] #1619: Loading aligned dtype error
NumPy Trac
numpy-tickets@scipy....
Tue Jun 21 17:52:22 CDT 2011
#1619: Loading aligned dtype error
-----------------------------+----------------------------------------------
Reporter: Ihor.Melnyk | Owner: somebody
Type: defect | Status: needs_work
Priority: highest | Milestone: 2.0.0
Component: numpy.core | Version: devel
Keywords: dtype alignment |
-----------------------------+----------------------------------------------
Comment(by mwiebe):
I believe the align keyword can be well-defined, and C compilers in
general have a consistent approach. The reason I really want this in is
for in-memory calculations, where operations combining or manipulating
aligned structured arrays should produce new aligned structured arrays,
not throw away the alignment and force lots of extra copying and
buffering.
I'm not sure what the .npy format is doing, I wish it would have defined a
NumPy + Python independent specification for the structure. I've fixed the
repr issue, but the .npy format still breaks.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1619#comment:8>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list