> On Mar 19, 2019, at 12:06 PM, Martin Buchholz <marti...@google.com> wrote:
> 
> On Tue, Mar 19, 2019 at 11:12 AM Brian Burkhalter 
> <brian.burkhal...@oracle.com <mailto:brian.burkhal...@oracle.com>> wrote:
> 
>> On Mar 18, 2019, at 1:03 PM, Martin Buchholz <marti...@google.com 
>> <mailto:marti...@google.com>> wrote:
>> 
>> You've again caught me only half paying attention.
>> Below is another attempt at micro-optimization (might be too tricky!), BUT:
> 
> This has blossomed considerably from my original effectively one line change. 
> ;-)
> 
> Feel free to ignore/postpone.

Probably I should hack up a JMH to check.

>  
> 
> Might there be any performance numbers on this version versus the one 
> currently in the repo?
> 
> Nope, but they're the sort of non-tradeoff optimization that is known to help 
> and "can't hurt".
> 
> UTF-8 encoding is likely to always be performance sensitive.
> 
> (another thought: can we elide the creation of an intermediate byte[] and 
> write directly to the output?)

Will check out.

Thanks ...

Reply via email to