haskell-servant/servant

Generic records causes very slow compile times

Open

#1,038 建立於 2018年9月18日

在 GitHub 查看
 (6 留言) (0 反應) (0 負責人)Haskell (422 fork)batch import
help wantedperformance

倉庫指標

Star
 (1,953 star)
PR 合併指標
 (平均合併 5小時 49分鐘) (30 天內合併 2 個 PR)

描述

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

貢獻者指南