haskell-servant/servant

Generic records causes very slow compile times

Open

#1 038 ouverte le 18 sept. 2018

Voir sur GitHub
 (6 commentaires) (0 réactions) (0 assignés)Haskell (422 forks)batch import
help wantedperformance

Métriques du dépôt

Stars
 (1 953 stars)
Métriques de merge PR
 (Merge moyen 23h 44m) (4 PRs mergées en 30 j)

Description

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

Guide contributeur