GHC Threads affinity

Ben Gamari ben at
Tue Oct 3 14:25:38 UTC 2017

"Boespflug, Mathieu" <m at> writes:

> You might want to have a look at
> 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
Perhaps this is what you are hitting?


- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <>

More information about the ghc-devs mailing list