11
#Java Records are "Trusted" and Consequently Faster
(minborgsjavapot.blogspot.com)
For discussing Java, the JVM, languages that run on the JVM, and other related technologies.
A long article to say: A compiler can optimize constants.