about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-11-06 06:13:59 +0000
committerbors <bors@rust-lang.org>2015-11-06 06:13:59 +0000
commit98fa2ac1bce84136a129a260b1eb42b9a83d61a0 (patch)
treecadc4ee9b3b4cf466130bfafb784d2bb368ed537 /src/libstd/sys/unix/stack_overflow.rs
parent7512808ac94cffd385a83d0bc6fc76d37a411879 (diff)
parentdcf323e5868309dea6e9be3560149cdaca5f1bb7 (diff)
downloadrust-98fa2ac1bce84136a129a260b1eb42b9a83d61a0.tar.gz
rust-98fa2ac1bce84136a129a260b1eb42b9a83d61a0.zip
Auto merge of #29588 - nikomatsakis:mir-switch, r=aatch
Introduce a `SwitchInt` and restructure pattern matching to collect integers and characters into one master switch. This is aimed at #29227, but is not a complete fix. Whereas before we generated an if-else-if chain and, at least on my machine, just failed to compile, we now spend ~9sec compiling `rustc_abuse`. AFAICT this is basically just due to a need for more micro-optimization of the matching process: perf shows a fair amount of time just spent iterating over the candidate list. Still, it seemed worth opening a PR with this step alone, since it's a big step forward.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions