about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-01-14 22:00:43 +0000
committerbors <bors@rust-lang.org>2017-01-14 22:00:43 +0000
commitebe9682a25a4aa35b1c95ff73fb297209a8becd7 (patch)
treeb4069e117ef78fa064dde0c9272716a9b813bb09 /src/libstd
parent93e70ecb7fbe05caa74dfb2bf3c29315edc2b3e6 (diff)
parent482fa0f932df50f8fadc2e59289c42153f162657 (diff)
downloadrust-ebe9682a25a4aa35b1c95ff73fb297209a8becd7.tar.gz
rust-ebe9682a25a4aa35b1c95ff73fb297209a8becd7.zip
Auto merge of #39020 - michaelwoerister:dep-graph-dfs-caching, r=nikomatsakis
incr.comp.: Add some caching to Predecessors construction.

This speeds up the "serialize dep graph" pass for libsyntax from 45 secs to 15 secs on my machine. Still far from ideal, but things will get better when we change the metadata hashing strategy.

The `CACHING_THRESHOLD` value of 60 has been arrived at experimentally. It seemed to give the best speedup.

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