about summary refs log tree commit diff
path: root/library/std/src/sys/unix/process/process_unix.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-10-07 23:44:57 +0000
committerbors <bors@rust-lang.org>2020-10-07 23:44:57 +0000
commite055f87cdfcac1f4da6c518a547dee459de0aa26 (patch)
treebb27e222fe5e2835df345328c6c1797d4e0cbf24 /library/std/src/sys/unix/process/process_unix.rs
parent91a79fb29ac78d057d04dbe86be13d5dcc64309a (diff)
parente231c47aa608b15aa427bc7a8859d87a022c1cfd (diff)
downloadrust-e055f87cdfcac1f4da6c518a547dee459de0aa26.tar.gz
rust-e055f87cdfcac1f4da6c518a547dee459de0aa26.zip
Auto merge of #77597 - simonvandel:uninhabited-hashset, r=jonas-schievink
perf: UninhabitedEnumBranching avoid n^2

Avoid n² complexity. This showed up in a profile for match-stress-enum that has 8192 variants

I have only profiled locally against `match-stress-enum`, so we should have it perf tested to make sure it does not regress other crates.
Diffstat (limited to 'library/std/src/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions