Re: laziness, memoization and inlining

2008-05-15 Thread Simon Marlow
Scott Dillard wrote: Simon, Don, You're right. -fno-state-hack fixed it. I've opened a trac ticket. Program and test data are there. http://hackage.haskell.org/trac/ghc/ticket/2284 Ok, but do we really need two tickets for this? Why open a new ticket rather than adding the information to

RE: laziness, memoization and inlining

2008-05-15 Thread Simon Peyton-Jones
Dillard | Cc: Simon Peyton-Jones; Don Stewart; glasgow-haskell-users@haskell.org | Subject: Re: laziness, memoization and inlining | | Scott Dillard wrote: | Simon, Don, | | You're right. -fno-state-hack fixed it. I've opened a trac ticket. | Program and test data are there. | | http

RE: laziness, memoization and inlining

2008-05-14 Thread Simon Peyton-Jones
Dillard | Sent: 14 May 2008 00:13 | To: glasgow-haskell-users@haskell.org | Subject: laziness, memoization and inlining | | Hi Everybody, | | I'm experiencing some undesirable performance behavior, I suspect from | inlining things that shouldn't be, defeating my memoization attempts. | I've been

Re: laziness, memoization and inlining

2008-05-14 Thread Scott Dillard
Simon, Don, You're right. -fno-state-hack fixed it. I've opened a trac ticket. Program and test data are there. http://hackage.haskell.org/trac/ghc/ticket/2284 Scott On Wed, May 14, 2008 at 1:48 AM, Simon Peyton-Jones [EMAIL PROTECTED] wrote: Scott | I'm experiencing some undesirable

laziness, memoization and inlining

2008-05-13 Thread Scott Dillard
Hi Everybody, I'm experiencing some undesirable performance behavior, I suspect from inlining things that shouldn't be, defeating my memoization attempts. I've been experimenting with purely functional 3D modeling code, so a mesh is (initially) something like type Mesh = Map (Int,Int) (Int,Int)

Re: laziness, memoization and inlining

2008-05-13 Thread Don Stewart
sedillard: Hi Everybody, I'm experiencing some undesirable performance behavior, I suspect from inlining things that shouldn't be, defeating my memoization attempts. I've been experimenting with purely functional 3D modeling code, so a mesh is (initially) something like type Mesh = Map