RFR: Optimize StringBuilder.append(null) (original) (raw)
Martin Buchholz martinrb at google.com
Mon Apr 8 23:43:33 UTC 2013
- Previous message: [threeten-dev] ReviewRequest 8011172: JSR 310: DateTime API Updates II,
- Next message: RFR: Optimize StringBuilder.append(null)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Mar 27, 2013 at 11:32 PM, Remi Forax <forax at univ-mlv.fr> wrote:
On 03/28/2013 07:29 AM, Martin Buchholz wrote:
The declaration saves 50 bytes of bytecode.
I don't understand ?
Copying a field into a method local results in fewer bytes of bytecode, which may tickle hotspot into inlining the method for you. Although it's hard to demonstrate this.
- Previous message: [threeten-dev] ReviewRequest 8011172: JSR 310: DateTime API Updates II,
- Next message: RFR: Optimize StringBuilder.append(null)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]