[Haskell-cafe] Attoparsec concatenating combinator

Bryan O'Sullivan bos at serpentine.com
Fri Jun 3 18:26:01 CEST 2011


On Fri, Jun 3, 2011 at 2:52 AM, Yitzchak Gale <gale at sefer.org> wrote:

> I was thinking of even lower level: allocating a moderate chunk of
> memory and writing the results directly into it consecutively as a
> special case.
>

Surely that would save only one copy compared to creating a list of results
and then concatenating them, no? I'd be a little surprised if it proved
worthwhile.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110603/862252cf/attachment.htm>


More information about the Haskell-Cafe mailing list