[
https://issues.apache.org/jira/browse/IO-538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17281516#comment-17281516
]
Gary D. Gregory commented on IO-538:
------------------------------------
Make sure to provide a JMH test to show that this is worth doing as a recent PR
for a different set of classes showed that think kind of rework was moot. The
other PR or Jira contains the tests and stats as well as a reference to an
article.
> Add Non Synchronized CharArrayWriter
> -------------------------------------
>
> Key: IO-538
> URL: https://issues.apache.org/jira/browse/IO-538
> Project: Commons IO
> Issue Type: New Feature
> Components: Streams/Writers
> Affects Versions: 2.5
> Reporter: David Mollitor
> Priority: Minor
> Attachments: IO-538.1.patch
>
>
> There currently exists {{StringBuilderWriter}}. This implementation, as an
> alternative to java.io.StringWriter, provides an un-synchronized (i.e. for
> use in a single thread) implementation for better performance.
> It would be nice if there way one for CharArrayWriter as well.
> https://www.igorkromin.net/index.php/2015/08/20/java-stringwriter-vs-chararraywriter-which-one-to-choose-for-performance/
--
This message was sent by Atlassian Jira
(v8.3.4#803005)