Am 4. Februar 2017 18:39:34 MEZ schrieb Vladimir Sitnikov <[email protected]>: >Felix>I looked at that, too. There are two options, one is the String >(as >implemented) the other is a RDocument, which didn't look like it would >support it easily. But you might find a find, so look at it. > >Here's my benchmark for setText vs replaceRange+append >https://gist.github.com/vlsi/63a1d4732f027ce70229af830ce20648 > >It looks like it makes sense to use replaceRange+append.
Looks like a nice option, would you like to implement those changes? > >Felix>Formats are not threadsafe, so I put it inside the lock. > >Should we use ThreadLocals for formats? >It seems to be a trivial change, yet it would increase scalability. This is not needed anymore with slf4j :) Felix > >Vladimir
