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
United States Trends
- 1. Veterans Day 437K posts
- 2. Jeezy 1,999 posts
- 3. Woody 19.2K posts
- 4. Tangle and Whisper 5,076 posts
- 5. State of Play 34.5K posts
- 6. Toy Story 5 25.7K posts
- 7. Pat Murphy 1,015 posts
- 8. Aday Mara N/A
- 9. Errtime N/A
- 10. #ShootingStar N/A
- 11. AiAi 13.1K posts
- 12. Antifa 213K posts
- 13. McAvoy N/A
- 14. Nico 151K posts
- 15. Wanda 33.7K posts
- 16. NiGHTS 59.7K posts
- 17. #SonicRacingCrossWorlds 3,340 posts
- 18. Bill Murray N/A
- 19. Tish 7,321 posts
- 20. Gambit 50.2K posts
Something went wrong.
Something went wrong.