>From charles
Ahh, ok, I figured it was something like that. So is your code
there
actual code, or is it what you compile the code as when you
realize
the value won't escape?
FWIW, I have done experiments with using enumerators instead of
integer loops
This is actual code as I am trying to keep to the Smalltalk model of a
very simple
direct compile. So I depend on the programmer to indicate the mutable
integers and
to use appropriate methods. There are a few places where the compiler
does create
an enumerator behind the scene where I will automatically generate similar
code to what
you are. In this case the integers are not visible so its an easy catch.
I have been toying with 'typed' Smalltalk methods where I could go
directly to static java but
I have not tried that yet
thanks
mark
_______________________________________________
mlvm-dev mailing list
[email protected]
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev