Java Performance MythBusters

Session Type: 
Standard [35 minutes]

You should always use a StringBuilder - it's faster than plain concatenation! Don't use an ArrayList but a LinkedList instead, this will speed things up! You should definitely make that method final - then the VM can optimize it! There exist hundreds of similar pieces of wisdom that we Java developers have to keep in mind in our daily work. Otherwise our code won't perform well, will it?

In this session I will look into the thicket of performance tips and tricks that each generation of Java developers passes to their children. I will try to shed some light on these insider tips and answer the question: Is it truth or just an urban legend?

Schedule info



Cool Stuff (Other)
Experience level: 

Copyright © 2013 The Eclipse Foundation. All Rights Reserved.