On 21.12.2014 18:37, Lev Priima wrote:
> Thanks for exhaustive research. Looks formal enough to claim that both
> variants of change bring only perf advantages, but, as I understand,
> which one is better is not so straightforward.

Both are sound performance-wise, and you can see that they produce
almost the similar assembly (I would guess static finals and constant
pool entires really share the same memory arena).

So the choice is the actual style. I like the cuteness of "".value().

-Aleksey.


Reply via email to