Tag Info

New answers tagged


Whether there is a performance penalty or not, would depend on whether your Java compiler is capable of in-lining / unrolling trivial lambda expressions like this one. In general, inlining in Java is limited by the presence of the final modifier, or when the compiler can deduce that the final keyword could have been used in the local context without ...

Top 50 recent answers are included