-
Notifications
You must be signed in to change notification settings - Fork 19
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
[Adjust rule] Drop SIM105 due to performance #91
Comments
I found this repository because I followed your tutorial on Medium on how to write a |
Uh, interesting! I'll have a look and try to fix it this week. Do you mind sharing the project where this time actually matters? |
Uh, I got your point wrong the first time : you're not worried about the runtime of sim105, but if the effect of the advocated change! Now I've got you! I'll document it tomorrow 👍 |
django/django#9038 It's slow because of the way Python makes function calls. |
@atombrella What do you think about this? #93 |
Desired change
Explanation
By conforming to this, the code will perform worse. Please check with
timeit
.The text was updated successfully, but these errors were encountered: