Require Coq.Sorting.Permutation.
slows down rewrite_strat
by > 10x
#15596
Labels
kind: performance
Improvements to performance and efficiency.
part: rewriting tactics
The rewrite, autorewrite, rewrite_strat, and setoid_rewrite tactics.
part: standard library
The standard library stdlib.
Milestone
Require Coq.Sorting.Permutation.
increases the time from 0.254 secs to 3.572 secs.Require Coq.Sorting.Permutation.
increases the time from 0.071 to 26.511 secs.If I don't need any
setoid_rewrite
functionality, will this be fixed by #15093, because I could just pass in an empty hint DB for the morphisms?But for users who do need
setoid_rewrite
functionality, is there a way to shrink this performance gap? I see thatCoq.Sorting.Permutation.
contains a lot of global instances, which could/should be made#[export]
, on the other hand, do these "off-topic" instances really need to slow downrewrite_strat
that much?The text was updated successfully, but these errors were encountered: