Then `isClassExpensive?` was being invoked too often. In some benchmarks the performance hit was substantial. For example, in the new test `state8.lean`. The runtime on my machine went from 2s to 0.76s.
11 lines
334 B
Text
11 lines
334 B
Text
Sum.someRight c : Option Nat
|
|
evalWithMVar.lean:13:20-13:21: error: don't know how to synthesize implicit argument
|
|
@c ?m
|
|
context:
|
|
⊢ Type u_1
|
|
evalWithMVar.lean:13:6-13:21: error: don't know how to synthesize implicit argument
|
|
@Sum.someRight ?m Nat c
|
|
context:
|
|
⊢ Type u_1
|
|
Sum.someRight c : Option Nat
|
|
Sum.someRight c : Option Nat
|