Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Further optimize metapackage summary generation
- The key to performance here is to avoid sorting versions at all costs, as comparing versions is still expensive with python. Before, we've sorted all packages by version, now we only sort versions after unicalizing them. - This change also makes sorting more consistent and meaningful in some cases. For instance, different (stringwise) version values which compare as equal (versionwise) are now ordered by their spread first, then alphabetically.
- Loading branch information
Showing
3 changed files
with
47 additions
and
56 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
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
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