about summary refs log tree commit diff
path: root/src/libstd/thread
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-05-04 09:15:23 +0000
committerbors <bors@rust-lang.org>2017-05-04 09:15:23 +0000
commitac46091e82d7af37dc03c2a31b736eeb44408c7a (patch)
tree41bcfa71c105724a45d6089b9cdd706acd5474de /src/libstd/thread
parentb16c7a235fa0f57fed6b7ec13ffd3cff1bcdd9ad (diff)
parent3f2dd4d24a1fae4a985ab360028b42ca1e9c61e9 (diff)
downloadrust-ac46091e82d7af37dc03c2a31b736eeb44408c7a.tar.gz
rust-ac46091e82d7af37dc03c2a31b736eeb44408c7a.zip
Auto merge of #41733 - nikomatsakis:incr-comp-remove-ast-ty-to-ty-cache, r=eddyb
Remove ast-ty-to-ty cache

As discussed on IRC, this basically just removes the cache, and rewrites rustdoc and save-analysis so call into the astconv code. It *might* make sense for this to be a more fine-grained query, but that would (at least) require us to be using `HirId` and not `NodeId`.

(Perhaps I should open a FIXME?)

I didn't measure perf impact (yet?). I did observe that the cache seems to hit *rarely* -- and only in between items (I experimented with a cache "per def-id", but that had zero hits). In other words, every single hit on the cache is a dependency bug, since it is "shuttling" information between items without dependency edges.

r? @eddyb
Diffstat (limited to 'src/libstd/thread')
0 files changed, 0 insertions, 0 deletions