RFR 6856817: Poor performance of Writer#append with CharBuffer
Daniel Fuchs
daniel.fuchs at oracle.com
Wed Dec 2 09:20:34 UTC 2015
Hi Vyom,
Looks good to me too.
If you don't get more comments from reviewers, send me the
exported changeset and I'll push it for you.
best regards,
-- daniel
On 11/25/15 3:29 PM, vyom wrote:
> Hi All,
>
> Please review my changes for below bug.
>
> Bug: JDK-6856817 : Poor performance of Writer#append with
> CharBuffer
> Webrev: http://cr.openjdk.java.net/~vtewari/6856817/webrev0.4/
> <http://cr.openjdk.java.net/%7Evtewari/6856817/webrev0.4/>
>
> This change will avoid the redundant toString/CharBuffer.wrap in case
> of OutputStreamWriter.append(CharBuffer).
>
> In case of OutputStreamWriter.append(CharBuffer) we are doing
> CharBuffer->String->char[]->CharBuffer conversion this change will
> avoid redundant conversion.
>
> Thanks,
> Vyom
>
More information about the nio-dev
mailing list