You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linting takes half an hour at the moment. A large part of this runtime is spent in type-class search in the simp_nf linter. (For example, simplifying the left-hand side of pfun.coe_val takes 3.6 seconds.)
One particularly slow type-class problem that pops up is has_add (α → β):
import all
set_option profiler true
example {α : Type*} {β : Type*} : has_add (α → β) :=
by apply_instance -- 3.3s on my machine
The text was updated successfully, but these errors were encountered:
gebner
changed the title
Performance issues in type-class search
Performance issues in type-class search for has_add (α → β)Jun 15, 2020
gebner
changed the title
Performance issues in type-class search for has_add (α → β)
Slow type-class search for has_add (α → β)Jun 15, 2020
Linting takes half an hour at the moment. A large part of this runtime is spent in type-class search in the
simp_nf
linter. (For example, simplifying the left-hand side ofpfun.coe_val
takes 3.6 seconds.)One particularly slow type-class problem that pops up is
has_add (α → β)
:The text was updated successfully, but these errors were encountered: