JLang icon indicating copy to clipboard operation
JLang copied to clipboard

Optimize static final fields

Open dz333 opened this issue 6 years ago • 0 comments

From @gharrma on May 10, 2018 21:39

Initialize constant static fields at compile time where possible, and don't bother doing class initialization (when these fields are accessed) if they are also final (JLS 12.4.1).

Copied from original issue: gharrma/polyllvm#52

dz333 avatar Aug 22 '18 15:08 dz333