[Haskell-cafe] Stack overflow

Philip Armstrong phil at kantaka.co.uk
Mon Feb 18 13:37:49 EST 2008


On Mon, Feb 18, 2008 at 05:56:41PM +0000, Adrian Hey wrote:
> Philip Armstrong wrote:
>> On Sun, Feb 17, 2008 at 10:01:14PM +0000, Adrian Hey wrote:
>>> BTW, I find this especially ironic as fromDistinctAscList is the perfect
>>> example what I was talking about in another thread (continuation passing
>>> madness caused by an irrational fear of stack use).
>>
>> In *some* cases, continuation passing can be quite a bit faster than
>> other approaches IIRC. I haven't looked at this bit of code though.
>
> Can you or anyone else give an example?

I think I was thinking of this:

   http://r6.ca/blog/20071028T162529Z.html

but can't be entirely sure. Sorry!

Phil

-- 
http://www.kantaka.co.uk/ .oOo. public key: http://www.kantaka.co.uk/gpg.txt


More information about the Haskell-Cafe mailing list