"Boespflug, Mathieu" <[email protected]> writes:

> You might want to have a look at
> https://github.com/mboes/ghc-events/tree/streaming. Similar to what
> you mention, it uses the "streaming" package for the incremental
> parsing. I ran into an issue with binary that I wasn't able to track
> down: even medium sized buffers make the parsing slower (significantly
> so) rather than faster (my suspicion: something somewhere that should
> be constant time is actually linear).

Indeed there was a rather terrible bug potentially leading to
unexpected asymptotic performance issues present in `binary` versions
prior to 0.8.4 IIRC. See https://github.com/kolmodin/binary/pull/115.
Perhaps this is what you are hitting?

Cheers,

- Ben

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ghc-devs mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to