-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Turn attributes on HTMLPage into local variables and standalone functions #5826
Merged
Commits on Sep 28, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 96a3254 - Browse repository at this point
Copy the full SHA 96a3254View commit details -
Convert base_url property into local variable
This property is only used in HTMLPage.links, which is only called once per instance in PackageFinder.find_all_candidates(). This would not affect performance or behavior, but improves data locality. The unit test of this property is and modified to test the underlying function instead.
Configuration menu - View commit details
-
Copy full SHA for 40bf368 - Browse repository at this point
Copy the full SHA 40bf368View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94d0428 - Browse repository at this point
Copy the full SHA 94d0428View commit details -
Convert HTMLPage.parsed into a local variable
This attribute is only used by HTMLPage.links, which is only used once per instance in PackageFinder.find_all_candidates(), so this change does not affect performance or behavior, but improves data locality.
Configuration menu - View commit details
-
Copy full SHA for 28ef0c2 - Browse repository at this point
Copy the full SHA 28ef0c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc7e6b5 - Browse repository at this point
Copy the full SHA dc7e6b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69e1e18 - Browse repository at this point
Copy the full SHA 69e1e18View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa83222 - Browse repository at this point
Copy the full SHA aa83222View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47ba191 - Browse repository at this point
Copy the full SHA 47ba191View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f85fcd - Browse repository at this point
Copy the full SHA 6f85fcdView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.