diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-06-01 03:14:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-01 03:14:05 +0200 |
| commit | fa2943975a34f3705f869968b03c268be718e744 (patch) | |
| tree | 504754c24fb928b10d5f510eeef901578e766ed7 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 0d93d3f4a42fd45b2a0da658d39555316a1b6793 (diff) | |
| parent | 04417636945004b91de8e3f32ee10e80585d05ec (diff) | |
| download | rust-fa2943975a34f3705f869968b03c268be718e744.tar.gz rust-fa2943975a34f3705f869968b03c268be718e744.zip | |
Rollup merge of #72776 - lcnr:stalled_on-smallvec, r=nnethercote
fulfill: try using SmallVec or Box for stalled_on Tested both `Box` and `SmallVec` for `stalled_on`, with both resulting in a perf loss. Adds a comment mentioning this and removes an now outdated FIXME. Logging the length of `stalled_on` resulted in the following distribution while building a part of stage 1 libs: ``` 22627647 counts: ( 1) 20983696 (92.7%, 92.7%): process_obligation_len: 1 ( 2) 959711 ( 4.2%, 97.0%): process_obligation_len: 2 ( 3) 682326 ( 3.0%,100.0%): process_obligation_len: 0 ( 4) 1914 ( 0.0%,100.0%): process_obligation_len: 3 ``` cc @eddyb r? @nnethercote
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
