Really bad code for single method dictionaries?

2009-03-26 Thread Jason Dusek
really bad -- code for single-method dictionaries -- unlifted_dummy [...] A cursory search on GHC's Trac shows no corresponding bug; is this no longer a problem? A small problem? I would like to know more about it. -- Jason Dusek |...stream fusion code...| http://www.

Re: Really bad code for single method dictionaries?

2009-03-26 Thread Neil Mitchell
GHC's optimizer: > >    class Unlifted a where > >      [...] >      expose [...] > >      -- | This makes GHC's optimiser happier; it sometimes produces really bad >      -- code for single-method dictionaries >      -- >      unlifted_dummy [...] > >  A cur

Re: Really bad code for single method dictionaries?

2009-03-27 Thread Don Stewart
class Unlifted a where > > [...] > expose [...] > > -- | This makes GHC's optimiser happier; it sometimes produces really > bad > -- code for single-method dictionaries > -- > unlifted_dummy [...] > > A cursory search on GHC's Trac sho

RE: Really bad code for single method dictionaries?

2009-03-27 Thread Simon Peyton-Jones
makes GHC's optimiser happier; it sometimes produces really bad | -- code for single-method dictionaries | -- | unlifted_dummy [...] | | A cursory search on GHC's Trac shows no corresponding bug; is this no longer | a problem? A small problem? I would like to kno

Re: Really bad code for single method dictionaries?

2009-03-27 Thread Roman Leshchinskiy
On 27/03/2009, at 18:32, Don Stewart wrote: I don't think this is still the case. Roman, do you remember? Hmm, not really. I recall that there was some sort of problem which I didn't have time to investigate then but it's been so long... Roman __

Re: Really bad code for single method dictionaries?

2009-03-27 Thread Max Bolingbroke
akes GHC's optimiser happier; it sometimes produces really bad >      -- code for single-method dictionaries >      -- >      unlifted_dummy [...] > >  A cursory search on GHC's Trac shows no corresponding bug; is this no longer >  a problem? A small problem? I would