Re: ?int - what's the representation?

Adam Megacz <[email protected]> Thu, 16 Sep 2004 17:24:32 -0700
Newsgroups gmane.comp.lang.nice.general
Organization Myself
Message-ID <[email protected]>
One possible optimization would be boolean+int (to keep things off the
heap).

In general, it would be neat to see this sort of
unboxing-heapvals-as-multiple-stackvals.  I've been looking into
automated bytecode transformations to do this sort of thing
post-compilation.

  - a


Daniel Bonniot <[email protected]> writes:
> Isaac Gouy wrote:
>>    ?int i = null;
>>    i = 5; How is i represented? A boxed int?
>
> Yes. Currently, in the bytecode, i has type java.lang.Integer.
>
> Daniel
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php

-- 



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php