rust/compiler/rustc_mir_build
Dylan MacKenzie bb6c249f99 Speed up IntRange::from_pat
Previously, this method called the more general `pat_constructor`
function, which can return other pattern variants besides `IntRange`.
Then it throws away any non-`IntRange` variants. Specialize it so work
is only done when it could result in an `IntRange`.
2020-09-26 20:00:54 -07:00
..
src Speed up IntRange::from_pat 2020-09-26 20:00:54 -07:00
Cargo.toml