excessive space and time usage for rendering (somewhat) deeply nested Docs
I was running into serious performance problems when printing moderately sized Doc and Xml data (HaXml goes via Doc).
Since pretty is shipped with ghc, this is potentially dangerous. Users will just assume that these core components are tried and tested, and working efficiently.
More info: http://article.gmane.org/gmane.comp.lang.haskell.cafe/103210
See also: http://stackoverflow.com/questions/9761507/which-pretty-print-library
Test case (builds an Xml tree with HaXml and renders it via the pretty library): https://github.com/jwaldmann/haskell-tpdb/blob/master/test/speed.hs
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | libraries/pretty |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |