about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAriel Ben-Yehuda <ariel.byd@gmail.com>2017-08-01 14:17:11 +0300
committerAriel Ben-Yehuda <ariel.byd@gmail.com>2017-08-01 14:18:49 +0300
commitc9d14a846f4e34d2cf0db89423a32428ad8e924f (patch)
tree1f14abe3ead139fc94cf7507421a17e5d18940ba /src/rustllvm/RustWrapper.cpp
parent91aff5775d3b4a95e2b0c2fe50785f3d28fa3dd8 (diff)
downloadrust-c9d14a846f4e34d2cf0db89423a32428ad8e924f.tar.gz
rust-c9d14a846f4e34d2cf0db89423a32428ad8e924f.zip
syntax: avoid loading the same source-file multiple times
We already had a cache for file contents, but we read the source-file
before testing the cache, causing obvious slowness, so this just avoids
loading the source-file when the cache already has the contents.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions