generic-data icon indicating copy to clipboard operation
generic-data copied to clipboard

Optimize generic implementations of Read and Show

Open Lysxia opened this issue 5 years ago • 0 comments

I don't think this is going to be a bottleneck for anyone, but the task could be an interesting exercise for someone to get some practice with how GHC rewrites Core.

  1. Set up some inspection tests for read and/or show comparing with GHC-derived instances (following some examples for other classes, currently in branch inspect)
  2. Optimize so the tests pass
  3. (optional) Do some benchmarks to get an idea of what we win

Lysxia avatar Mar 30 '20 18:03 Lysxia