about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <bsteinbr@gmail.com>2013-06-15 04:28:19 +0200
committerBjörn Steinbrink <bsteinbr@gmail.com>2013-06-15 04:28:19 +0200
commita710e619038c9ff96c332eedb72a8c77a3a370be (patch)
treefff51779555795f4e6775bcf6f591987314b00f3 /src/rt/rust_task.cpp
parent7755018074a7802e47ae61f69f5e2b5364a12eb8 (diff)
downloadrust-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