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

MAINT: Disable use_hugepages in case of ValueError #16714

Merged
merged 1 commit into from Jun 30, 2020

Conversation

charris
Copy link
Member

@charris charris commented Jun 30, 2020

Backport of #16708.

In accordance with this comment: #16679 (comment) , adding try except and setting use_hugepages to 0 in case of ValueError, since the additional LooseVersion import increases the import time a bit. From my measurement, it is more than 1 ms increase in import time.

Closes #16679.

EDIT: distutils import is more than 1 ms increase in import time.

@charris charris added 03 - Maintenance 08 - Backport Used to tag backport PRs labels Jun 30, 2020
@charris charris added this to the 1.19.1 release milestone Jun 30, 2020
@charris charris merged commit add36be into numpy:maintenance/1.19.x Jun 30, 2020
@charris charris deleted the backport-16708 branch July 15, 2020 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
03 - Maintenance 08 - Backport Used to tag backport PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants