-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Index distributions by short name in ::Ecosystems (#374)
Searching for given distributions previous involved iterating over every single distribution in the ecosystem to see if its name and version parts matched. This adds indexing of distributions based on their short name, so when making the actual query we can iterate over only those distributions indexed on the short name of the requested identity. This brings an install of HTTP::UserAgent from 160s to less than 20s on the system I'm testing on.
- Loading branch information
Showing
1 changed file
with
41 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters