GHC Threads affinity
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 487 bytes
Desc: not available
More information about the ghc-devs