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.
- 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)
- Optimize so the tests pass
- (optional) Do some benchmarks to get an idea of what we win
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.
readand/orshowcomparing with GHC-derived instances (following some examples for other classes, currently in branchinspect)