| Mon | Tue | Wed | Thu | Fri | Sat | Sun |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 |

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.
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
Category Specific Feeds.
Use these links for an RSS or ATOM feed limited to this category and its descendants.
Technorati Profile

