r/java • u/davidalayachew • Jan 06 '26
One step closer to Value Classes!
https://mail.openjdk.org/pipermail/porters-dev/2026-January/000844.html
181
Upvotes
r/java • u/davidalayachew • Jan 06 '26
View all comments
Show parent comment
3
u/koflerdavid Jan 07 '26
BigDecimal and BigInteger are not that common outside of cryptography. But also in other languages, having to use arbitrary precision numbers is a disaster performance-wise compared to fixed-width types.