diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-11-26 21:51:05 +0100 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-11-26 23:29:45 +0100 |
commit | 3351dbf311d35220c2782367c543e4825fadce31 (patch) | |
tree | e2b59044a4306095fd9d9ec6918eed16df562f45 /numpy/lib/format.py | |
parent | 31b94e85a99db998bd6156d2b800386973fef3e1 (diff) | |
download | numpy-3351dbf311d35220c2782367c543e4825fadce31.tar.gz |
BUG: fix string arrays not being aligned
If itemsize is a power of two use that as the required alignment up to
the maximum provided by the platform. Power of two sizes may be accessed
via larger moves than bytes.
Non-power of two sizes are accessed bytewise and can thus always be
considered aligned.
Closes gh-5293
Diffstat (limited to 'numpy/lib/format.py')
0 files changed, 0 insertions, 0 deletions