Operational Dynamics
Research and Development   |   Projects   |   Blogs   |   Source Code   |   Linux
December
Mon Tue Wed Thu Fri Sat Sun
     
21
 

hackergotchi
This section:

Blog postings by Andrew Cowie about Open Source and Software Development

The syndication links at top left will give you a feed for the blog as a whole. If you'd like a feed specific to this sub-category, see bottom of page.

RSS 2.0 Atom 0.3 blogs > andrew > software > objective > performance-tips-java

Wed, 21 Dec 2005

Performance tips for Java

I recently came across a scenario where the persistence library I’m using indicated that its out-of-band query mechanism would work even better if I had strongly typed arrays instead of Java Collections. More about that later, but whilst searching the net looking for information about a Hobbit[] array versus (say) an ArrayList of them, I stumbled across a neat paper called 30 ways to improve the performance of your Java Programs. There’s a PDF there you can download. The paper is a few years old but still a good reminder of some of the underlying things that go on in Java.

As ever, though, performance is particular to application architecture, nature of your data, and the algorithms you’re using. The author clearly notes that such issues will dominate and the only true way to make performance optimizations is to test alternatives out in your environment.

AfC


RSS 2.0 Atom 0.3 Category Specific Feeds. Use these links for an RSS or ATOM feed limited to this category and its descendants. Technorati Profile


Material on this site copyright © 2005-2008 Operational Dynamics Consulting Pty Ltd, unless otherwise noted. All rights reserved. Not for redistribution or attribution without permission in writing.

We make this service available to our staff in order to promote the discourse of ideas especially as relates to the development of Open Source worldwide. Blog entries on this site, however, are the musings of the authors as individuals and do not represent the views of Operational Dynamics. All times UTC.