Streams factories in Stream

John Rose john.r.rose at oracle.com
Tue Apr 23 23:18:17 PDT 2013


On Apr 23, 2013, at 10:59 PM, Peter Levart <peter.levart at gmail.com> wrote:

> And if the translation used invokedynamic to obtain a cached empty array of a particular element type (like lambda metafactory does for lambdas), the overhead to obtain such would be minimal.

Good point.  I was thinking of clunkier things like Arrays.EMPTY_OBJECT_ARRAY or private synthetic constants.  — John


More information about the lambda-dev mailing list