On Sat, Nov 04, 2006 at 17:22:31 +0100, Lemmih wrote:
[..]
pseq is just as bad. The problem is excessive use of strictness
annotations in the hope of a magical performance improvement.
Strictness annotations should be used with care and only placed where
they're needed.
Premature annotations for
Hello Magnus,
Monday, November 6, 2006, 1:08:44 PM, you wrote:
How do one find good places to use strictness annotations? (Is using
a profiler the answer, just like it's the answer for manual optimisation
in non-lazy languages?)
the only way i know is to plug pray :)
btw, a few weeks ago
Lemmih wrote:
Using 'seq' is generally a bad idea. It can worsen the performance if
not used carefully and GHCs strictness analyser is usually good
enough.
Is GHC.Conc.pseq any better? Usually the whole point of making things
more strict is to optimize performance for pieces you know will be