Difference between revisions of "Talk:Performance/Data types"

From HaskellWiki
Jump to navigation Jump to search
m (Talk:Performance/Data Types moved to Talk:Performance/Data types)
(newtype optimisation clarification request)
Line 1: Line 1:
  +
* In the newtypes section, could the first paragraph be clearer about the caveat "in most cases"? That is, could it point when using a newtype ''will not'' be optimised away? I myself was (am) under the impression that newtype is always optimised away. When can't/won't it be?

Revision as of 00:18, 6 May 2008

  • In the newtypes section, could the first paragraph be clearer about the caveat "in most cases"? That is, could it point when using a newtype will not be optimised away? I myself was (am) under the impression that newtype is always optimised away. When can't/won't it be?