Skip to content

Conversation

ocharles
Copy link
Contributor

@ocharles ocharles commented Nov 7, 2021

This Template Haskell function derives Rel8able instances, like the Generic deriving strategy. If my hypothesis in #136 is right, this may lead to faster compilation times for modules that need to derive Rel8able instances.

@ocharles
Copy link
Contributor Author

ocharles commented Nov 7, 2021

So far this is looking quite promising. On my laptop, CircuitHub.Model.Order takes 8.7s to compile, but using deriveRel8able it takes 3.8s - so a good 2.3x speedup. This work is not at all complete yet though - there's no labels, and no support for anything except Column. Hopefully adding that in still keeps us above 2x though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant