on master help sign in
take away some PERF notes that did not work
7ec0a07Evan Czaplicki
compiler/src/Type/Unify.hs−3
@@ -90,7 +90,6 @@ instance Applicative Unify where
90
90
91
91
92instance Monad Unify where
92instance Monad Unify where
93− -- PERF add INLINE here?
94 return a =
93 return a =
95 Unify $ \vars ok _ ->
94 Unify $ \vars ok _ ->
96 ok vars a
95 ok vars a
@@ -220,8 +219,6 @@ unifyFlex context content otherContent =
220 Error ->
219 Error ->
221 merge context Error
220 merge context Error
222
221
223− -- PERF see if wildcarding makes a noticable perf difference
224−
225 FlexVar maybeName ->
222 FlexVar maybeName ->
226 merge context $
223 merge context $
227 case maybeName of
224 case maybeName of