[Numpy-svn] [numpy/numpy] 86316b: ENH: hint that nelem == 1 branch is more likely
GitHub
noreply at github.com
Sat Feb 15 10:46:47 EST 2014
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: 86316b93e865bb06a5da14903e6f4c8330abb106
https://github.com/numpy/numpy/commit/86316b93e865bb06a5da14903e6f4c8330abb106
Author: Julian Taylor <jtaylor.debian at googlemail.com>
Date: 2014-02-15 (Sat, 15 Feb 2014)
Changed paths:
M numpy/core/src/multiarray/arraytypes.c.src
Log Message:
-----------
ENH: hint that nelem == 1 branch is more likely
improves performance for simple takes by 10%, chunked takes spend more
time copying so the less dense code matters less.
Commit: fd4bf676686ea20bb46797a665af36d974fc8415
https://github.com/numpy/numpy/commit/fd4bf676686ea20bb46797a665af36d974fc8415
Author: Julian Taylor <jtaylor.debian at googlemail.com>
Date: 2014-02-15 (Sat, 15 Feb 2014)
Changed paths:
M numpy/core/src/multiarray/common.h
Log Message:
-----------
ENH: explicitly mark invalid index branch as unlikely
gcc already detects this as unlikely but it might profit other
compilers.
Commit: e3f0f53685ccf5a942d7a883ea5a947c1b411aa1
https://github.com/numpy/numpy/commit/e3f0f53685ccf5a942d7a883ea5a947c1b411aa1
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2014-02-15 (Sat, 15 Feb 2014)
Changed paths:
M numpy/core/src/multiarray/arraytypes.c.src
M numpy/core/src/multiarray/common.h
Log Message:
-----------
Merge pull request #4296 from juliantaylor/fasttake-microopt
minor fasttake performance improvement
Compare: https://github.com/numpy/numpy/compare/33337281067b...e3f0f53685cc
More information about the Numpy-svn
mailing list