Joachim Breitner
|
6a5b122b40
|
perf: use RArray in simp_arith meta code (#6068 part 2)
This PR makes `simp_arith` use `RArray` for the context of the
reflection proofs, which scales better when there are many variables.
On our synthetic benchmark:
```
simp_arith1 instructions -25.1% (-4892.6 σ)
```
No effect on mathlib, though, guess it’s not used much on large goals there:
http://speed.lean-fro.org/mathlib4/compare/873b982b-2038-462a-9b68-0c0fc457f90d/to/56e66691-2f1f-4947-a922-37b80680315d
|
2024-11-14 14:08:48 +01:00 |
|