diff options
| author | kennytm <kennytm@gmail.com> | 2017-12-22 02:50:51 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-22 02:50:51 +0800 |
| commit | 614e285fa944dda3e147bb2b3f0d706ff10f7e4f (patch) | |
| tree | 1371ed0f20eaeb6d5a4fa36e6bbd1bfd643ca835 /src/rustllvm/RustWrapper.cpp | |
| parent | dc00aa4983fbfb9ff43f1e7360515eb7d3c284cb (diff) | |
| parent | 0258c6dacaa6e187ae9bf744fd3184e79f78f2ef (diff) | |
| download | rust-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
