[Haskell-cafe] Attoparsec concatenating combinator

Yitzchak Gale gale at sefer.org
Tue Jun 7 14:58:18 CEST 2011


Bryan O'Sullivan wrote:
>> Now that I think of it: in principle, you could
>> write a specialised concat that would check the pointer/offset/length
>> combinations of its arguments and, if they all abutted perfectly, would just
>> return a new view into that same array, sans copying.

Gregory Collins wrote:
>>> The blaze-builder might work for this also, this is exactly the
>>> problem it's designed for.

Simon Meier wrote:
> Using a Builder for concatentation makes sense...
> However, ...some low-level meddling is probably required...
> I'm inclined look into that...

These are great ideas for further exploiting the
bytestring/text specialization of this parser library for
super speed. Thanks!

Regards,
Yitz



More information about the Haskell-Cafe mailing list