Skip to content
New issue

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

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

Already on GitHub? # to your account

Revert "mypy: remove has_member (#8438)" #8500

Merged
merged 1 commit into from
Mar 6, 2020

Conversation

msullivan
Copy link
Collaborator

It turns out that the has_member check is an important (accidental?)
performance optimization. Removing this caused a major (30+%?)
slowdown at dropbox. There might be a better way to optimize this but
I'm just going to revert it for now at least.

This reverts commit 09cdab4.

It turns out that the has_member check is an important (accidental?)
performance optimization. Removing this caused a major (30+%?)
slowdown at dropbox. There might be a better way to optimize this but
I'm just going to revert it for now at least.

This reverts commit 09cdab4.
@msullivan msullivan requested review from ilevkivskyi and JukkaL March 6, 2020 04:36
@msullivan
Copy link
Collaborator Author

Heads up @hauntsaninja

@ilevkivskyi ilevkivskyi merged commit 514dbfb into master Mar 6, 2020
@ilevkivskyi ilevkivskyi deleted the fix-performance-regression branch March 6, 2020 09:45
msullivan added a commit that referenced this pull request Mar 6, 2020
It turns out that the has_member check is an important (accidental?)
performance optimization. Removing this caused a major (30+%?)
slowdown at dropbox. There might be a better way to optimize this but
I'm just going to revert it for now at least.

This reverts commit 09cdab4.
@msullivan msullivan mentioned this pull request Mar 7, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants