Performance bug in HTTP library affecting "cabal update"

Ganesh Sittampalam ganesh at
Mon Dec 9 20:13:47 UTC 2013

On 09/12/2013 17:49, Thomas Schilling wrote:

> I just sent a pull request to the HTTP library [1] that dramatically
> improves the performance of "cabal update" (80s -> 8s on my machine).
> It would be nice if we could make a new release soon and compile the
> next Platform's "cabal-install" against it.
> Mark, any concerns?

Nice catch! I've uploaded 4000.2.10 with your fix (and no other changes
from 4000.2.9, which itself only has dependency changes since 4000.2.8).

I'm fine with this going into the upcoming HP release, but I don't have
a strong opinion either way myself.

It is a code change perhaps quite late in the day, albeit a small one
with significant benefits; it's not fixing an out and out regression but
on the other hand the problem is likely getting worse over time as the
hackage index gets larger.



More information about the Libraries mailing list