Streams factories in Stream (original) (raw)
John Rose john.r.rose at oracle.com
Tue Apr 23 23🔞17 PDT 2013
- Previous message: Streams factories in Stream
- Next message: Streams factories in Stream
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Streams factories in Stream
- Next message: Streams factories in Stream
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]