]> git.lizzy.rs Git - rust.git/commit
Inline `Span` methods.
authorNicholas Nethercote <nnethercote@mozilla.com>
Wed, 9 May 2018 05:25:44 +0000 (15:25 +1000)
committerNicholas Nethercote <nnethercote@mozilla.com>
Wed, 9 May 2018 10:14:03 +0000 (20:14 +1000)
commit77c40f8c6f8cc472f6438f7724d60bf3b7718a0c
tree0f50dfa2ae0cf6a9c30ec207cfe7cace9b16a536
parentf9bfe840f41d00e9712f13fbc635ec3fbe95e8c4
Inline `Span` methods.

Because they are simple and hot.

This change speeds up some incremental runs of a few rustc-perf
benchmarks, the best by 3%.
src/libsyntax_pos/span_encoding.rs