Re: Re: Resulting class performance

Jeremy Cowgar <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
On 5/7/2010 4:49 PM, Scott Vachalek wrote:
> Oh, you don't store the add. Hmm. May be that it's just too different
> from how a Java loop works. Stuff rarely hangs around on the stack
> after a branch except for the ternary operator.
>    

Yes, that is correct, I do not store the result of the iadd, thus it 
stays on the stack. First time through the loop stack looks like:

0 300000000

300... is popped from the stack into a variable, my "loopFinished" 
variable. I then put 0 on the stack and store it to a variable as well, 
that's my "loopCurrent" variable.

Jeremy
message-footer.txt (text/plain, 238 B)
-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.