PROPOSAL: Binary Literals

Tim Peierls tim at
Thu Mar 26 06:38:16 PDT 2009

On Thu, Mar 26, 2009 at 3:42 AM, Derek Foster <vapor1 at> wrote:

> From: Reinier Zwitserloot <reinier at>
>> 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
> optimizations.

This might have been an issue years ago, but modern JVMs can handle this
kind of thing easily.


More information about the coin-dev mailing list