-
Notifications
You must be signed in to change notification settings - Fork 138
Open
Labels
Description
The performance of the rendering process can be improved by
- changing the
TextEscaperinterface method tovoid appendEscaped(Appendable out, String text);- thus preventing the intermediate step of creating a new String containing the escaped text - changing the
Indenterinterface method tovoid appendIndented(Appendable out, int level, String text);- same idea: don't create a temporary string, but write indent and text directly toout
I'm not sure if this can be realized in a backward compatible way - so probably this is something for 2.0