haskell-servant/servant

Generic records causes very slow compile times

Open

#1038 aperta il 18 set 2018

Vedi su GitHub
 (6 commenti) (0 reazioni) (0 assegnatari)Haskell (422 fork)batch import
help wantedperformance

Metriche repository

Star
 (1953 star)
Metriche merge PR
 (Merge medio 23h 44m) (4 PR mergiate in 30 g)

Descrizione

apparently, large APIs using the Servant.API.Generic record mechanism are orders of magnitude slower to compile than their :<|> equivalent

https://twitter.com/mattoflambda/status/1041622124576661504

I'm not sure how much we can do about this, but we could at least benchmark, create a minimal example that triggers this behaviour, and submit it to GHC as a bug

Guida contributor