diff options
| author | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2017-08-01 14:17:11 +0300 |
|---|---|---|
| committer | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2017-08-01 14:18:49 +0300 |
| commit | c9d14a846f4e34d2cf0db89423a32428ad8e924f (patch) | |
| tree | 1f14abe3ead139fc94cf7507421a17e5d18940ba /src/rustllvm/RustWrapper.cpp | |
| parent | 91aff5775d3b4a95e2b0c2fe50785f3d28fa3dd8 (diff) | |
| download | rust-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
