On Thu, Oct 13, 2011 at 3:32 PM, Yves Parès <[email protected]> wrote: >> The number of new cons cells created in due course is Θ(length xs). These >> cons cells would not have been created if we printed length xs and printed >> length ys separately. > Okay, so the major problem comes from memory management.
Well, it comes from extra allocations. Since most values are immutable, most Haskell work is in the form of allocations. - Jake _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
