diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-09-12 19:03:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-12 19:03:42 +0200 |
| commit | 7cae463bdaec4bbc44cc8e9b9a56ca4982811580 (patch) | |
| tree | b55e27b0fe17266d51f62eed8da0c09217074368 /compiler/rustc_pattern_analysis/src | |
| parent | b0ff0b7bf96b460d71d9be4ad3beb25c490ec27c (diff) | |
| parent | 2344133ba6abfe54e48cafecca2dff53a9484b07 (diff) | |
| download | rust-7cae463bdaec4bbc44cc8e9b9a56ca4982811580.tar.gz rust-7cae463bdaec4bbc44cc8e9b9a56ca4982811580.zip | |
Rollup merge of #130263 - Zalathar:sums, r=compiler-errors
coverage: Simplify creation of sum counters A small and self-contained improvement, extracted from some larger changes that I'm still working on. Ultimately I want to avoid creating these sum counter-expressions in some cases (in favour of just adding physical counters directly to the nodes we care about), so a good incremental move towards that is splitting the “gather edge counters” step out from the ”build a sum of those counters” step. Creating an extra intermediate vector should have negligible cost (and coverage isn't exercised by the benchmark suite anyway). The removed logging is redundant with the `#[instrument(..)]` logging we already have on the underlying method calls.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
