This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Quick Optimization Question
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: java at gcc dot gnu dot org
- Date: Wed, 28 Mar 2007 11:16:37 -0500
- Subject: Quick Optimization Question
- Reply-to: gnustuff at thisiscool dot com
Hi All,
Sorry if the answer to this is obvious, but I figured
someone (Andrew) would know this off the top of his
head.
If I do this:
public static final byte[] FOO = new byte[] {....};
...will gcj know to translate FOO.length into
a constant at compile time?
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/