The Artima Developer Community
Sponsored Link

Java Buzz Forum
Even faster StringBuffer.append()

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Tom Copeland

Posts: 486
Nickname: tcopeland
Registered: Nov, 2004

Tom Copeland is a junior developer.
Even faster StringBuffer.append() Posted: Jan 9, 2006 12:16 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Tom Copeland.
Original Post: Even faster StringBuffer.append()
Feed Title: Junior developer: Java
Feed URL: http://tomcopeland.blogs.com/juniordeveloper/index-java.rdf
Feed Description: System.out.println("Hello world!");
Latest Java Buzz Posts
Latest Java Buzz Posts by Tom Copeland
Latest Posts From Junior developer: Java

Advertisement
Allan Caplan writes another fine PMD rule; this one, ConsecutiveLiteralAppends, catches code like this: StringBuffer sb = new StringBuffer();sb.append(hello);sb.append(world); Those two StringBuffer.append invocations can be combined into one statement. Doing so knocks 17 bytes off the classfile size and eliminates...

Read: Even faster StringBuffer.append()

Topic: Links for 2005-12-28 [del.icio.us] Previous Topic   Next Topic Topic: Apache 2.2 and FastCGI

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use