summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c406b5b)
Now that exprIsDupable is less aggressive, test MethSharing wasn't
doing enough inlining. Increasing the threshold fixes the problem
but the real fix is in Trac #4960.
decrement n = Just (n-1)
dupAppSize :: Int
decrement n = Just (n-1)
dupAppSize :: Int
-dupAppSize = 6 -- Size of term we are prepared to duplicate
+dupAppSize = 8 -- Size of term we are prepared to duplicate
+ -- This is *just* big enough to make test MethSharing
+ -- inline enough join points. Really it should be
+ -- smaller, and could be if we fixed Trac #4960.
\end{code}
%************************************************************************
\end{code}
%************************************************************************