In #281, this project added support for uniqueness of distributions when parsing entry points. This change introduced some degradation in the performance when parsing entry points (due to need to load/inspect the metadata for every project). In that PR, a couple of suggestions were made to improve the performance:
- rely on the discovery name for the distribution rather than the proper name in metadata to disambiguate distributions
Rely on a custom, optimized parser instead of ConfigParser for parsing the entry points themselves.
Let's consider those two suggestions.
In #281, this project added support for uniqueness of distributions when parsing entry points. This change introduced some degradation in the performance when parsing entry points (due to need to load/inspect the metadata for every project). In that PR, a couple of suggestions were made to improve the performance:
Rely on a custom, optimized parser instead of ConfigParser for parsing the entry points themselves.Let's consider those two suggestions.