Skip to content

Commit

Permalink
Rollup merge of #130078 - its-the-shrimp:rustdoc-types-compress-ids, …
Browse files Browse the repository at this point in the history
…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
tgross35 authored Oct 11, 2024
2 parents 01e2fff + 1e30b5a commit 05c0591
Show file tree
Hide file tree
Showing 5 changed files with 326 additions and 333 deletions.
Loading

0 comments on commit 05c0591

Please sign in to comment.