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

loop-invariant-global-usage example appears to be measuring dict key lookup #18

Open
justin-mccann opened this issue Mar 30, 2022 · 0 comments

Comments

@justin-mccann
Copy link

The README example for W8202: Global name usage in a loop (loop-invariant-global-usage)
appears to be measuring the cost of dictionary lookup more than global-vs-local names.
From looking in the anti-patterns repository, I think it's just using the wrong code sample.

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

No branches or pull requests

1 participant