3 ms·Most JVM implementations that I am aware of do sane things with respect to optimisation of immutable values.by gdp 17y agoMost JVM implementations that I am aware of do sane things with respect to optimisation of immutable values.