]> git.lizzy.rs Git - rust.git/commit
auto merge of #11662 : alexcrichton/rust/faster-parens, r=huonw
authorbors <bors@rust-lang.org>
Tue, 21 Jan 2014 04:06:23 +0000 (20:06 -0800)
committerbors <bors@rust-lang.org>
Tue, 21 Jan 2014 04:06:23 +0000 (20:06 -0800)
commit80a2306aee6bb6ccde8692521c32eb96fe942991
tree0acb0c63404b6ae27d5fbe3948dc66a2d69f58cd
parent62f866108446ededb50b77d7e053d9e07f56da4a
parent1f542cd2640fd969cba328ca3b4059acd6428a83
auto merge of #11662 : alexcrichton/rust/faster-parens, r=huonw

The included test case would essentially never finish compiling without this
patch. It recursies twice at every ExprParen meaning that the branching factor
is 2^n

The included test case will take so long to parse on the old compiler that it'll
surely never let this crop up again.
src/librustc/middle/check_const.rs