GHC Threads affinity

Ben Gamari ben at smart-cactus.org
Tue Oct 3 14:25:38 UTC 2017


"Boespflug, Mathieu" <m at tweag.io> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20171003/22dd8bd0/attachment.sig>


More information about the ghc-devs mailing list