]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #45602 - petrochenkov:ospan, r=michaelwoerister
authorkennytm <kennytm@gmail.com>
Wed, 1 Nov 2017 05:32:10 +0000 (13:32 +0800)
committerGitHub <noreply@github.com>
Wed, 1 Nov 2017 05:32:10 +0000 (13:32 +0800)
commite01dcf4b75a2742956515b0d254e540f1ae40b9b
treea2aa511eea5ead711adce6730fc70f94f64463ed
parent59c9d03af8888f2d704c02f495a7734da4e86f2f
parent06f7f1f68bf9cecaa712a6706691fb04b47dfc49
Rollup merge of #45602 - petrochenkov:ospan, r=michaelwoerister

Optimize some span operations

Do not decode span data twice/thrice/etc unnecessarily.
Applied to stable hashing and all methods in `impl Span`.

Follow up to https://github.com/rust-lang/rust/pull/44646
r? @michaelwoerister
src/librustc/ich/hcx.rs