You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.
Right now the package import code downloads all package versions eagerly. This can be a lot of processing when the latest version is going to be requested and queried the vast majority of the time.
We should structure the import code so that the lastest version at import time is downloaded and indexed, as well as the list of versions and dist-tags. The other versions can be downloaded and indexed on demand.
This will mean that queries across packages will be limited to latest versions. This was likely the be the case in practice already as querying across packages at specific version numbers doesn't make a lot of sense since version numbers are mostly uncorrelated. We may want to download and index all versions referenced by dist-tags.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Right now the package import code downloads all package versions eagerly. This can be a lot of processing when the latest version is going to be requested and queried the vast majority of the time.
We should structure the import code so that the lastest version at import time is downloaded and indexed, as well as the list of versions and dist-tags. The other versions can be downloaded and indexed on demand.
This will mean that queries across packages will be limited to latest versions. This was likely the be the case in practice already as querying across packages at specific version numbers doesn't make a lot of sense since version numbers are mostly uncorrelated. We may want to download and index all versions referenced by dist-tags.
The text was updated successfully, but these errors were encountered: