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

Populate the in-memory index when resolving lookahead URLs #2761

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

charliermarsh
Copy link
Member

Summary

Just ensures that we don't have to go back to the cache when resolving.

@charliermarsh charliermarsh added the performance Potential performance improvement label Apr 1, 2024
@charliermarsh charliermarsh marked this pull request as ready for review April 1, 2024 21:30
charliermarsh added a commit that referenced this pull request Apr 1, 2024
## Summary

This fixes a potential bug that revealed itself in
#2761. We don't run into this now
because we always use "allowed URLs", stores the "last" compatible URL
in the map. But the use of the "raw" URL (rather than the "canonical"
URL) means that other writers have to follow that same assumption and
iterate over dependencies in-order.
@charliermarsh charliermarsh enabled auto-merge (squash) April 1, 2024 22:04
@charliermarsh charliermarsh merged commit f2c9e88 into main Apr 1, 2024
34 checks passed
@charliermarsh charliermarsh deleted the charlie/recursive-index branch April 1, 2024 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Potential performance improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants