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

rustdoc: Optimize and refactor doc link resolution #96135

Merged
merged 6 commits into from
Apr 20, 2022

Commits on Apr 19, 2022

  1. Configuration menu
    Copy the full SHA
    f5ca02c View commit details
    Browse the repository at this point in the history
  2. rustc_metadata: Store a flag telling whether an item may have doc lin…

    …ks in its attributes
    
    This should be cheap on rustc side, but it's significant optimization for rustdoc that won't need to decode and process attributes unnecessarily
    petrochenkov committed Apr 19, 2022
    Configuration menu
    Copy the full SHA
    e2d3a4f View commit details
    Browse the repository at this point in the history
  3. rustdoc: Optimize and refactor doc link resolution

    - Cache doc link resolutions obtained early
    - Cache markdown links retrieved from doc strings early
    - Rename and restructure the code in early doc link resolution to be closer to rust-lang#94857
    petrochenkov committed Apr 19, 2022
    Configuration menu
    Copy the full SHA
    72ed101 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    de287df View commit details
    Browse the repository at this point in the history
  5. rustdoc: Sligthly optimize Attributes construction and processing b…

    …efore doc link resolution
    petrochenkov committed Apr 19, 2022
    Configuration menu
    Copy the full SHA
    5cce8cb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ca5c752 View commit details
    Browse the repository at this point in the history