Skip to content

Improve efficiency of entry-point parsing #283

@jaraco

Description

@jaraco

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions