[Numpy-svn] [numpy/numpy] 9fba2c: Faster real_if_close.
GitHub
noreply at github.com
Thu Mar 31 18:58:23 EDT 2016
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: 9fba2cb5ebddd4790be60801aa0aa62027fbfd02
https://github.com/numpy/numpy/commit/9fba2cb5ebddd4790be60801aa0aa62027fbfd02
Author: Antony Lee <anntzer.lee at gmail.com>
Date: 2016-03-30 (Wed, 30 Mar 2016)
Changed paths:
M numpy/lib/type_check.py
Log Message:
-----------
Faster real_if_close.
Because of the complexity of `allclose`, `real_if_close(t)` used to be
~2.5-3x slower than, say, `t + t`. This patch makes it approximately as
fast.
Commit: 2af06c804931aae4b30bb3349bc60271b0b65381
https://github.com/numpy/numpy/commit/2af06c804931aae4b30bb3349bc60271b0b65381
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2016-03-31 (Thu, 31 Mar 2016)
Changed paths:
M numpy/lib/type_check.py
Log Message:
-----------
Merge pull request #7489 from anntzer/faster-real-if-close
Faster real_if_close.
Compare: https://github.com/numpy/numpy/compare/25d60a989766...2af06c804931
More information about the Numpy-svn
mailing list