Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve loading of PyPI mapping #690

Merged
merged 3 commits into from
Sep 11, 2024
Merged

Improve loading of PyPI mapping #690

merged 3 commits into from
Sep 11, 2024

Commits on Sep 10, 2024

  1. Parse pypi mapping with ruamel.yaml instead of PyYAML

    For me this reduces loading time from 5.44s to 1.63s.
    maresb committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    0c51d37 View commit details
    Browse the repository at this point in the history
  2. Cache the PyPI mapping on disk to avoid redundant downloads

    Not really necessary since the slowdown is due to parsing the YAML,
    but I wrote it anyways, so let's include it.
    maresb committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    800f6ff View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. Fix broken string interpolation

    Co-authored-by: Marius van Niekerk <marius.v.niekerk@gmail.com>
    maresb and mariusvniekerk committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    016af6c View commit details
    Browse the repository at this point in the history