You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2019/05/21 02:06:00 UTC
[jira] [Created] (GROOVY-9130) Native optimisation for callable
method references
Paul King created GROOVY-9130:
---------------------------------
Summary: Native optimisation for callable method references
Key: GROOVY-9130
URL: https://issues.apache.org/jira/browse/GROOVY-9130
Project: Groovy
Issue Type: Improvement
Reporter: Paul King
We currently do a native optimisation for this:
{code}
println 'hi'.transform(String::toUpperCase) // JDK12
{code}
but default back to a closure method ref for this:
{code}
println String::toUpperCase('hi')
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)