on master help sign in
seems better to rely on Outline.decoder

The perf here should be dominated by the HTTP request, so it seems better to keep using Outline.decoder because it'll mean that the compiler will take me to this code if there are any changes to outlines.

commit78a1ea2f0172e8ae20ace27baaed6531a4be9be9 authorEvan Czaplicki <evancz@users.noreply.github.com> dateMon 24 Jun 2019, 19:08 (7 years ago) parent4b1fff7
1 file changed−2
builder/src/Deps/Solver.hs−2
builder/src/Deps/Solver.hs−2
@@ -327,8 +327,6 @@ getConstraints pkg vsn =
327327 err (Exit.SolverBadHttpData pkg vsn)
328328
329329
330−-- TODO write constraintsDecoder to be a bit faster
331−--
332330constraintsDecoder :: D.Decoder () Constraints
333331constraintsDecoder =
334332 do outline <- D.mapError (const ()) Outline.decoder