Skip to content

Commit 5280d23

Browse files
committed
Auto merge of #56287 - michaelwoerister:bench-incr-ignore-spans, r=<try>
[do not merge] Benchmark ignoring span hashes during incr. comp. for getting a lower bound for #47389 I figured that ignoring changes to span values might give a useful lower bound on compile times with the optimizations described in #47389 applied. Keep in mind that any improvements shown with this PR could only be achieved if we could update object files in place, which would be the "stretch goal" for #47389.
2 parents 10e2c72 + 135e763 commit 5280d23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/ich/hcx.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ impl<'a> HashStable<StableHashingContext<'a>> for Span {
320320
const TAG_EXPANSION: u8 = 0;
321321
const TAG_NO_EXPANSION: u8 = 1;
322322

323-
if !hcx.hash_spans {
323+
if !hcx.hash_spans && false {
324324
return
325325
}
326326

0 commit comments

Comments
 (0)