Skip to content

Commit

Permalink
Unrolled build for rust-lang#130078
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#130078 - its-the-shrimp:rustdoc-types-compress-ids, r=aDotInTheVoid

rustdoc-json: change item ID's repr from a string to an int

Following [this discussion on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/266220-t-rustdoc/topic/Optimizing.20the.20.60Id.60.20type.20in.20.60rustdoc-types.60), I've changed the repr of `rustdoc_json_types::Id` from a String to a u32, by adding a `clean::ItemId` interner to `JsonRenderer`

r? ``@aDotInTheVoid``
  • Loading branch information
rust-timer authored Oct 12, 2024
2 parents 1bc403d + 1e30b5a commit a3cb012
Show file tree
Hide file tree
Showing 5 changed files with 326 additions and 333 deletions.
Loading

0 comments on commit a3cb012

Please sign in to comment.