Post

Java Performance
Java Performance@JavaPerformance·
A case for keeping primitives in Java | JavaWorld: Using code samples and simple benchmarks, I'll make my case... tinyurl.com/p93x9tn
English
7
7
8
0
Peter Lawrey
Peter Lawrey@PeterLawrey·
@JavaPerformance Use BigDecimal instead of double and the performance drops by ~100x, for some it's best practice...
English
2
1
2
0
Peter Lawrey
Peter Lawrey@PeterLawrey·
@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.
English
1
1
2
0
Peter Lawrey
Peter Lawrey@PeterLawrey·
@JavaPerformance If you think Matrix operations without primitives is bad, try text or Input/OutputStream operations without primitives.
English
0
0
1
0
Peter Lawrey
Peter Lawrey@PeterLawrey·
@JavaPerformance You can get accurate memory usage accounting if you turn off -XX:-UseTLAB and you can see the size of a new Object().
English
0
0
1
0
Paylaş