diff options
| author | bors <bors@rust-lang.org> | 2020-04-05 09:50:30 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-04-05 09:50:30 +0000 |
| commit | 607b8582362be8e26df7acc12fa242359d7edf95 (patch) | |
| tree | b1b7c9777d727e3581632cf2a101349bcee2e985 /src/librustdoc/html/render.rs | |
| parent | 7b657d340d715f48449189fea9d032350323a13f (diff) | |
| parent | 4cdceda5a355ab5c4732b425b4449d9707084fdc (diff) | |
| download | rust-607b8582362be8e26df7acc12fa242359d7edf95.tar.gz rust-607b8582362be8e26df7acc12fa242359d7edf95.zip | |
Auto merge of #70803 - arlosi:hash-regression, r=eddyb
Fix performance regression in debuginfo file_metadata. Fixes performance regression caused by #69718. Finding the `SourceFile` associated with a `FileName` called `get_source_file` on the `SourceMap`, which does a linear search through all files in the `SourceMap`. This resolves the issue by passing the `SourceFile` in from the caller (which already had it available) instead of the `FileName` Fixes #70785.
Diffstat (limited to 'src/librustdoc/html/render.rs')
0 files changed, 0 insertions, 0 deletions
