[Haskell-cafe] Partition int 180. Out of memory

William Yager will.yager at gmail.com
Wed Nov 18 20:07:39 UTC 2015


Data.Vector.Unboxed and Data.Vector.Storable.

Sometimes you have to be clever with memoization on these data structures,
because every element in the vector is strict in the whole vector. There
are some functions to help with this (like constructN).

--Will

On Wed, Nov 18, 2015 at 3:25 AM, Kees Bleijenberg <
K.Bleijenberg at lijbrandt.nl> wrote:

>
> What is the most memory efficient replacement for a list?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20151118/11f02751/attachment.html>


More information about the Haskell-Cafe mailing list