Personal tools

Talk:Performance/Data types

From HaskellWiki

< Talk:Performance(Difference between revisions)
Jump to: navigation, search
m (Talk:Performance/Data Types moved to Talk:Performance/Data types)
Current revision (02:41, 7 May 2008) (edit) (undo)
 
(One intermediate revision not shown.)
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?
 +
** It is always optimised away, yes. The report requires that. [[User:DonStewart|dons]] 02:41, 7 May 2008 (UTC)

Current revision

  • 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?
    • It is always optimised away, yes. The report requires that. dons 02:41, 7 May 2008 (UTC)