-
Notifications
You must be signed in to change notification settings - Fork 435
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: speed up bv_decide reflection using Lean.RArray (#6288)
This PR uses Lean.RArray in bv_decide's reflection proofs. Giving speedups on problems with lots of variables. Implement like #6068, speedup: ``` # before λ hyperfine "lean +nightly-2024-12-02 tests/lean/run/bv_reflection_stress.lean" Benchmark 1: lean +nightly-2024-12-02 tests/lean/run/bv_reflection_stress.lean Time (mean ± σ): 1.939 s ± 0.007 s [User: 1.549 s, System: 0.104 s] Range (min … max): 1.928 s … 1.947 s 10 runs # after λ hyperfine "lean tests/lean/run/bv_reflection_stress.lean" Benchmark 1: lean tests/lean/run/bv_reflection_stress.lean Time (mean ± σ): 1.409 s ± 0.006 s [User: 1.058 s, System: 0.073 s] Range (min … max): 1.401 s … 1.419 s 10 runs ```
- Loading branch information
Showing
4 changed files
with
33 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters