Auto merge of #5138 - alexcrichton:small-opt, r=matklad
authorbors <bors@rust-lang.org>
Wed, 7 Mar 2018 00:02:33 +0000 (00:02 +0000)
committerbors <bors@rust-lang.org>
Wed, 7 Mar 2018 00:02:33 +0000 (00:02 +0000)
commit3ea4f3b12d957409398602eb34d421b8784efee0
treeae535230acbe758dd3a7946feed3d3cb6ebfee10
parentdd4f46e7ddedb386e42d57a99809410c755efc19
parent301fccc24e54e8cc1356b8dcd26d39546aa4a63b
Auto merge of #5138 - alexcrichton:small-opt, r=matklad

Some small optimizations

Found an easy hot spot or two when profiling `./x.py build` in rust-lang/rust, although certainly still lots remaining.