Re: GHC 6.8.1 SpecConstr

2007-11-15 Thread Stefan O'Rear
On Thu, Nov 15, 2007 at 09:00:18AM +, Simon Peyton-Jones wrote: > Simon, Ian > > We don't have a good way to test for performance regressions, and we really, > really ought to. > > Printing heap allocated, and regarding the test as failed if it get more than > 2% worse might be a simple way

RE: GHC 6.8.1 SpecConstr

2007-11-15 Thread Simon Peyton-Jones
2007 06:49 | To: [EMAIL PROTECTED] | Subject: GHC 6.8.1 SpecConstr | | Hi, | | Recall the example from Simon's paper appearing in ICFP 2007. | | myLast :: [a] -> a | myLast [] = error "" | myLast [x] = x | myLast (x:xs) = myLast xs | | which returns the last element in a list. |