aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/src/validation.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-04-03 22:47:39 +0100
committerGitHub <[email protected]>2021-04-03 22:47:39 +0100
commita3dc04905b4c1a88ece9cc252bfbf9e321f29428 (patch)
treef671f0e97d91f9392f90911ebcb62df8eea958ea /crates/syntax/src/validation.rs
parentb78f1a0a4d90276c7bd99bd0e5ac6959578be76a (diff)
parentd1bce6070def3b4d5045c3fc4bb66904d50d0a40 (diff)
Merge #8318
8318: Use shrink_to_fit to reduce DefMap sizes r=jonas-schievink a=jonas-schievink Especially `block_def_map` can overallocate when there's not a lot of items in the `DefMap`. This saves around 10 MB during analysis-stats. Not too much, but a cheap win. bors r+ Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/syntax/src/validation.rs')
0 files changed, 0 insertions, 0 deletions