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 strictness is the root of all evil?  :-)

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?)

Oh, just in case you didn't guess it already, I'm a Haskell n00b who has
yet to achieve enlightenment...

/M

-- 
Magnus Therning                             (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED]             Jabber: [EMAIL PROTECTED]
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

"And wow! Hey! What's this thing coming towards me very fast? Very
very fast. So big and flat and round, it needs a big wide sounding
word like...  ow... ound... round...  ground! That's it! That's a good
name - ground!  I wonder if it will be friends with me?"

-- For the sperm whale, it wasn't.

Attachment: pgpPAA6L8mR64.pgp
Description: PGP signature

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to