diff options
| author | bors <bors@rust-lang.org> | 2022-11-25 22:33:32 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-11-25 22:33:32 +0000 |
| commit | d2281f0367ba85c34ee9bce07d3cca40e1424721 (patch) | |
| tree | 715251db6af0aa4db7a85bc4e4708f7f98eb9f1a /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | b651646510997948e9b3f26a452b38ea91d47355 (diff) | |
| parent | 7bf2a25dfe8337fe46a2698756cdfab46556ef88 (diff) | |
| download | rust-d2281f0367ba85c34ee9bce07d3cca40e1424721.tar.gz rust-d2281f0367ba85c34ee9bce07d3cca40e1424721.zip | |
Auto merge of #13678 - Veykril:hir-file-encode, r=Veykril
Encode the variants of `HirFileId` in a u32 with MSB as the tag This saves 10mb on `self` analysis, while this does limit us to 2billion real files and 2 billion macro expansions, I doubt we will ever hit that limit :) `HirFileId` is used a lot, so going from 8 bytes to 4 is a decent win.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
