
Hi, Am Dienstag, den 29.03.2016, 15:29 -0700 schrieb Edward Z. Yang:
This ticket may be of interest:
https://ghc.haskell.org/trac/ghc/ticket/9630
Deriving costs a lot and we just need someone to figure out what's going on.
are you sure that deriving itself costs a lot? I would expect that deriving itself is reasonably cheap, but results in a lot of complicated (e.g. recursive) code that later analyzes have to go through... http://ghc.haskell.org/trac/ghc/ticket/9557 and tickets linked from there are also relevant. In fact, there is even a keyword for this meta-issue: https://ghc.haskell.org/trac/ghc/query?status=!closed&keywords=~deriving-perf Greetings, Joachim -- Joachim “nomeata” Breitner mail@joachim-breitner.de • https://www.joachim-breitner.de/ XMPP: nomeata@joachim-breitner.de • OpenPGP-Key: 0xF0FBF51F Debian Developer: nomeata@debian.org