[ 
https://issues.apache.org/jira/browse/GROOVY-11415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Milles updated GROOVY-11415:
---------------------------------
    Summary: Bytecode for identity  (was: Tweak bytecode for identity)

> Bytecode for identity
> ---------------------
>
>                 Key: GROOVY-11415
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11415
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Daniel Sun
>            Assignee: Daniel Sun
>            Priority: Major
>             Fix For: 5.0.0-alpha-9, 4.0.22
>
>
> The bytecode for {{===}} and {{!==}} is to invoke static method, e.g. 
> \{{compareIdentical}}, \{{compareNotIdentical}}.
> We could generate better bytecode by leveraging \{{IF_ACMPEQ}}, 
> \{{IF_ACMPNE}}, which is same to the bytecode generated by Java compiler.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to