diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2020-05-13 22:10:54 -0500 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2020-05-14 11:03:31 -0500 |
commit | bf14c1ce748f46df7daf5923cfb79ff905e233e8 (patch) | |
tree | ecbd37866b7ac80063edf509a5baeaf8f0628939 /numpy/lib/utils.py | |
parent | 77410e26dd94bdd07df096be06ee9aa7d5738ce6 (diff) | |
download | numpy-bf14c1ce748f46df7daf5923cfb79ff905e233e8.tar.gz |
MAINT: Unify cached (C-level static) imports
The main idea is that once we unify them, we can think about actually
being able to also clean them up.
This is far away from having no global state, but at this time I do not
see that as a seriousl goal personally. But it could be possible
to reload the module safely in a single interpreter maybe.
The commit adds the cache import for the complex casts, since it doubles
performance for small casts when the warning is not suppressed and it
unifies the handling.
Diffstat (limited to 'numpy/lib/utils.py')
0 files changed, 0 insertions, 0 deletions