diff options
| author | Björn Steinbrink <bsteinbr@gmail.com> | 2013-06-15 04:28:19 +0200 |
|---|---|---|
| committer | Björn Steinbrink <bsteinbr@gmail.com> | 2013-06-15 04:28:19 +0200 |
| commit | a710e619038c9ff96c332eedb72a8c77a3a370be (patch) | |
| tree | fff51779555795f4e6775bcf6f591987314b00f3 /src/rt/rust_task.cpp | |
| parent | 7755018074a7802e47ae61f69f5e2b5364a12eb8 (diff) | |
| download | rust-a710e619038c9ff96c332eedb72a8c77a3a370be.tar.gz rust-a710e619038c9ff96c332eedb72a8c77a3a370be.zip | |
Add caches for method and impl metadata
The lookups for these items in external crates currently cause repeated decoding of the EBML metadata, which is pretty slow. Adding caches to avoid the repeated decoding reduces the time required for the type checking of librustc by about 25%.
Diffstat (limited to 'src/rt/rust_task.cpp')
0 files changed, 0 insertions, 0 deletions
