Re:Groovy Array: it just keeps going...and going...
by wlievens on Tuesday November 30, 2010 @06:29AM
(#1953796)
It's been a while since I generated JVM bytecode (oh my, five years), but I don't recall there being array initializer instructions. In other words, the new Object[] {...} statement probably translates to a whole bunch of array-write operations on the caller side whereas with a method call you just push them all on the stack and invoke the utility method.
[ Parent
| on HN ]
There are no comments on this comment yet.