about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-03-09 09:27:35 +0000
committerbors <bors@rust-lang.org>2025-03-09 09:27:35 +0000
commit4f521991945886709a875ba2aeaa859574126c0e (patch)
tree903a5609c219bb29833f2d1bddaba29b6cc7ff52 /compiler/rustc_hir_analysis/src
parenta96fa317d78c78a9de996afd317603c6970efc0d (diff)
parente100fd4d52c2e0f7a02c8237da5a65ea3e8c6d31 (diff)
downloadrust-4f521991945886709a875ba2aeaa859574126c0e.tar.gz
rust-4f521991945886709a875ba2aeaa859574126c0e.zip
Auto merge of #137563 - FractalFir:dep_graph_cap, r=nnethercote
Change TaskDeps to start preallocated with 128 capacity

This is a tiny change that makes `TaskDeps::read_set` start preallocated with capacity for 128 elements.

From local profiling, it looks like `TaskDeps::read_set`  is one of the most-often resized hash-sets in `rustc`.
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
0 files changed, 0 insertions, 0 deletions