A case for keeping primitives in Java | JavaWorld: Using code samples and simple benchmarks, I'll make my case... http://t.co/JzF8oSsKYC
7
7
8
Replies
@JavaPerformance Use BigDecimal instead of double and the performance drops by ~100x, for some it's best practice...
2
1
2
@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.
1
1
2
@JavaPerformance If you think Matrix operations without primitives is bad, try text or Input/OutputStream operations without primitives.
0
0
1
@JavaPerformance You can get accurate memory usage accounting if you turn off -XX:-UseTLAB and you can see the size of a new Object().
0
0
1
@JavaPerformance #Code #highlighting is #wonderful, but we're having too much of it. Visit : http://t.co/vGFc5abTR6
0
0
0