|
|
|
|
|
by vips7L
638 days ago
|
|
Wouldn't the lambda here by always escape? It gets created in the function and passed into another one. Looking at the byte code it looks like it always allocates in when its in the interpreter: invokedynamic #16, 0 // InvokeDynamic #0:apply:()Ljava/util/function/Function;
|
|
(One think I like about less heavily JIT-reliant languages is that it can be more obvious when something will incur a runtime cost.)