summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_arrayterator.py
diff options
context:
space:
mode:
authorJulian Taylor <jtaylor.debian@googlemail.com>2014-11-26 21:51:05 +0100
committerJulian Taylor <jtaylor.debian@googlemail.com>2014-11-26 23:29:45 +0100
commit3351dbf311d35220c2782367c543e4825fadce31 (patch)
treee2b59044a4306095fd9d9ec6918eed16df562f45 /numpy/lib/tests/test_arrayterator.py
parent31b94e85a99db998bd6156d2b800386973fef3e1 (diff)
downloadnumpy-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/tests/test_arrayterator.py')
0 files changed, 0 insertions, 0 deletions