summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorMark Harfouche <mark.harfouche@gmail.com>2019-07-25 20:46:13 -0400
committerSebastian Berg <sebastian@sipsolutions.net>2019-07-25 17:46:13 -0700
commit702c357536c23d8122fe152f0d86b9add1add6a0 (patch)
treef66c914db2107d1a993cfaedc00b9b81f7181a70 /numpy/core/fromnumeric.py
parentf6f7995b485d5b9895cd456815192abe10ac6fcb (diff)
downloadnumpy-702c357536c23d8122fe152f0d86b9add1add6a0.tar.gz
MAINT: import time: avoid repeated textwrap function dispatch instantiation
Avoid the repeated call of `dedent` when a single call is enough. This micro-optimizes the import time from around 100ms (or slightly above) by 4-6 ms. (PR: gh-14095)
Diffstat (limited to 'numpy/core/fromnumeric.py')
0 files changed, 0 insertions, 0 deletions