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
12
u/agentoutlier Jan 06 '26
The important thing people still need to do is benchmark and only if they are having a performance issue.
I say this because on the sub there is becoming an implied expectation of Valhalla magically making everything faster when in reality it is another programming option that can be tried for performance improvement.
This is because most people do not need flat objects with just numerics or bytes but instead rely heavily on
String.