PROPOSAL: Binary Literals
tim at peierls.net
Thu Mar 26 06:38:16 PDT 2009
On Thu, Mar 26, 2009 at 3:42 AM, Derek Foster <vapor1 at teleport.com> wrote:
> From: Reinier Zwitserloot <reinier at zwitserloot.com>
>> The result of a library call is a byte primitive, which you can then
>> assign to a private static final byte constant. From there on out, that will
>> be as fast as a code literal.
> You are not considering the impact of constant folding on compiler
This might have been an issue years ago, but modern JVMs can handle this
kind of thing easily.
More information about the coin-dev