On 05/28/2010 06:55 PM, John Rose wrote:
Part of the advantage of the structs Per is talking about is this: Structs may
be passed as arguments and used as locals elementwise, with no allocation on
the stack.
And more critically: Returned as method results.
It is easy enough to simulate struct arguments or locals
or fields: just use one argument or local for each struct "field".
But you can't do that for method results.
--
--Per Bothner
[email protected] http://per.bothner.com/
--
You received this message because you are subscribed to the Google Groups "JVM
Languages" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jvm-languages?hl=en.