excessive space and time usage for rendering (somewhat) deeply nested Docs
|Reported by:||j.waldmann||Owned by:||dterei|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Rev(s):|
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.
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