about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2017-12-22 02:50:51 +0800
committerGitHub <noreply@github.com>2017-12-22 02:50:51 +0800
commit614e285fa944dda3e147bb2b3f0d706ff10f7e4f (patch)
tree1371ed0f20eaeb6d5a4fa36e6bbd1bfd643ca835 /src/rustllvm/RustWrapper.cpp
parentdc00aa4983fbfb9ff43f1e7360515eb7d3c284cb (diff)
parent0258c6dacaa6e187ae9bf744fd3184e79f78f2ef (diff)
downloadrust-614e285fa944dda3e147bb2b3f0d706ff10f7e4f.tar.gz
rust-614e285fa944dda3e147bb2b3f0d706ff10f7e4f.zip
Rollup merge of #46839 - michaelwoerister:faster-span-hashing-2, r=nikomatsakis
incr.comp.: Precompute small hash for filenames to save some work.

For each span we hash the filename of the file it points to. Since filenames can be quite long, especially with absolute paths, this PR pre-computes a hash of the filename and we then only hash the hash.

r? @nikomatsakis
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions