It's hard to iterate on Pretty as it's a fairly performance critical library but there is no benchmark suite for it. Add one. There is some code in the branch for this but it needs to be put into a good state so it can be easily run. Also look at this simple benchmark for improving:
It's hard to iterate on Pretty as it's a fairly performance critical library but there is no benchmark suite for it. Add one. There is some code in the branch for this but it needs to be put into a good state so it can be easily run. Also look at this simple benchmark for improving:
http://hackage.haskell.org/trac/ghc/ticket/3339#comment:22