haskell-servant/servant
GitHub で見るGeneric records causes very slow compile times
Open
#1,038 opened on 2018年9月18日
help wantedperformance
Repository metrics
- Stars
- (1,953 stars)
- PR merge metrics
- (平均マージ 5h 49m) (30d で 2 merged PRs)
説明
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