RFR: Optimize StringBuilder.append(null) (original) (raw)
Martin Buchholz martinrb at google.com
Thu Mar 28 06:29:13 UTC 2013
- Previous message: RFR: Optimize StringBuilder.append(null)
- Next message: RFR: Optimize StringBuilder.append(null)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Mar 27, 2013 at 4:36 PM, Remi Forax <forax at univ-mlv.fr> wrote:
On 03/27/2013 03:01 AM, Martin Buchholz wrote:
Hi Martin, the code looks good, I've just noticed that you declare the char array value final in appendNull but it's not something that is usually done in the java.lang codebase.
It's certainly common in java.util.concurrent. It's safer. The declaration saves 50 bytes of bytecode.
- Previous message: RFR: Optimize StringBuilder.append(null)
- Next message: RFR: Optimize StringBuilder.append(null)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]