summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
authorJulian Taylor <jtaylor.debian@googlemail.com>2013-08-09 19:30:53 +0200
committerJulian Taylor <jtaylor.debian@googlemail.com>2013-08-09 21:23:06 +0200
commite91acdb17b2a9c65a0fb9b7a97764aa375819784 (patch)
tree1d6d0981d1efdf0ca05b0ddd2f64352a6186d77d /numpy/add_newdocs.py
parent433f8968e4df729093ca627546a647a31fc2ed8c (diff)
downloadnumpy-e91acdb17b2a9c65a0fb9b7a97764aa375819784.tar.gz
ENH: add NPY_LIKELY and NPY_UNLIKELY macros for branching hints
Use it for npy_is_aligned expecting alignments of the power of two. Cuts down the time spent in _IsAligned by the testsuite relative to the rest of multiarray.so from 0.6% to 0.4%
Diffstat (limited to 'numpy/add_newdocs.py')
0 files changed, 0 insertions, 0 deletions