]> git.lizzy.rs Git - rust.git/commit
Auto merge of #51617 - nnethercote:nll-allocs, r=pnkfelix
authorbors <bors@rust-lang.org>
Wed, 20 Jun 2018 01:39:43 +0000 (01:39 +0000)
committerbors <bors@rust-lang.org>
Wed, 20 Jun 2018 01:39:43 +0000 (01:39 +0000)
commit93a161170f6dd7b9f6605a23e332a07ab73fc804
treecbe210ff67a7a45e2849a6e381ec73d688b178c6
parentac8d1f7623f55746ff8f59d6b26f03c39cee5844
parentba0bb02f6ff241297281784d2aed7dd8c2c78c4d
Auto merge of #51617 - nnethercote:nll-allocs, r=pnkfelix

Reduce number of allocations done by NLL

A couple of easy wins. Here are the NLL speedups that exceed 1%:
```
sentry-cli-check
        avg: -3.5%      min: -3.5%      max: -3.5%
inflate-check
        avg: -1.9%      min: -1.9%      max: -1.9%
inflate
        avg: -1.7%      min: -1.7%      max: -1.7%
clap-rs-check
        avg: -1.6%      min: -1.6%      max: -1.6%
cargo-check
        avg: -1.6%      min: -1.6%      max: -1.6%
ripgrep-check
        avg: -1.4%      min: -1.4%      max: -1.4%
serde-check
        avg: -1.2%      min: -1.2%      max: -1.2%
regex-check
        avg: -1.0%      min: -1.0%      max: -1.0%
sentry-cli
        avg: -1.0%      min: -1.0%      max: -1.0%
```
r? @nikomatsakis