]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #55205 - ljedrz:faster_fxhashmap/set_population, r=estebank
authorkennytm <kennytm@gmail.com>
Tue, 30 Oct 2018 10:55:26 +0000 (18:55 +0800)
committerGitHub <noreply@github.com>
Tue, 30 Oct 2018 10:55:26 +0000 (18:55 +0800)
Improve a few cases of collecting to an FxHash(Map/Set)

Either use `collect` or procure specified capacity when possible.

1  2 
src/librustc/ty/query/on_disk_cache.rs