Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up prettyprinter's renderLazy (#166)
renderSimplyDecorated's keeping track of the annotation stack wasn't actually necessary here. With the new custom render loop, we speed up the large-output benchmarks by roughly 10%. Note that this also removes some error detection functionality for SimpleDocStreams with unbalanced SAnnPush and SAnnPop constructors. Fixes #165.
- Loading branch information