Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH(catalog,io): move slow healpy import into functions #67

Merged
merged 1 commit into from
Nov 30, 2023
Merged

Conversation

ntessore
Copy link
Contributor

@ntessore ntessore commented Nov 30, 2023

Move import healpy statements from the top of modules into functions where healpy functionality is not central.

This speeds up importing these modules massively (several seconds).

Closes: #60

@ntessore ntessore merged commit 60d9b01 into main Nov 30, 2023
7 checks passed
@ntessore ntessore deleted the gh-60 branch November 30, 2023 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reduce module load time due to slow healpy imports
1 participant