Skip to content

Commit

Permalink
Auto merge of #118490 - Nadrieril:arena-alloc-matrix, r=nnethercote
Browse files Browse the repository at this point in the history
Exhaustiveness: allocate memory better

Exhaustiveness is a recursive algorithm that allocates a bunch of slices at every step. Let's see if I can improve performance by improving allocations.

Already just using `Vec::with_capacity` is showing impressive improvements on my local measurements.

r? `@ghost`
  • Loading branch information
bors committed Dec 4, 2023
2 parents 3b14266 + 505fe7c commit 09f3868
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 09f3868

Please sign in to comment.