Hello Niklas,

Friday, April 25, 2008, 1:25:39 AM, you wrote:

> Not that it should matter for performance any, but you really ought to
> reverse the result list too, or compute the accumulator in the right
> order. :-)

unfortunately, this affects performance too. reverse costs one more scan
through the list and building lot of thunks has its own space and time
cost


-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to