diff options
author | Mark Harfouche <mark.harfouche@gmail.com> | 2019-07-25 20:46:13 -0400 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2019-07-25 17:46:13 -0700 |
commit | 702c357536c23d8122fe152f0d86b9add1add6a0 (patch) | |
tree | f66c914db2107d1a993cfaedc00b9b81f7181a70 /numpy/core/fromnumeric.py | |
parent | f6f7995b485d5b9895cd456815192abe10ac6fcb (diff) | |
download | numpy-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