Niko Matsakis 662232c8f6 Rewrite match algorithm to avoid massive blowup in generated code for
large matches that fallback to Eq. When we encounter a case where the
test being performed does not inform the candidate at all, we just stop
testing the candidates at that point, rather than adding the candidate
to both outcomes. The former behavior was not WRONG, but it generated a
lot of code, whereas this new behavior degenerates to an if-else-if
tree.

Fixes #29740.
2015-11-11 16:38:58 -05:00
..
2015-11-08 13:36:36 -05:00
2015-11-11 09:02:24 -05:00
2015-11-09 22:55:50 -08:00
2015-11-09 22:55:50 -08:00