Java Cup
Inside Java

News and views from members of the Java team at Oracle

Using Computed Constants to Manage Static State in Leyden

I very much like the proposal for ComputedConstant. (I will call them CC’s here.) Let’s adopt these nifty CC’s. And let’s make use of them in bundled form, as CC-lists, when possible, since that reduces the per-value footprint to something like a single memory word. Cool stuff! …


More at https://cr.openjdk.org/~jrose/leyden/after-computed-constants.html.