You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Importing external modules that themselves have a slow import
Move the imports to run time, rather than import time. Also import a lot of this from cfdm. Many will not ever get imported, and when they do, the time is usually negligible compared to the operation being run.
Results
By applying these changes, my local import time reduces to 0.25 seconds (from 2 seconds - a factor of 6 speed-up).
Activity