A case for keeping primitives in Java | JavaWorld: Using code samples and simple benchmarks, I'll make my case... tinyurl.com/p93x9tn
@JavaPerformance Use BigDecimal instead of double and the performance drops by ~100x, for some it's best practice...
@JavaPerformance A couple of notes on a fine article. Most 64-bit JVM use 32-bit references, because saving a few bytes makes a difference.
@JavaPerformance If you think Matrix operations without primitives is bad, try text or Input/OutputStream operations without primitives.
@JavaPerformance You can get accurate memory usage accounting if you turn off -XX:-UseTLAB and you can see the size of a new Object().
@JavaPerformance #Code #highlighting is #wonderful, but we're having too much of it. Visit : codersnews.com