You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2024/06/25 03:12:00 UTC
[jira] [Commented] (GROOVY-11415) Bytecode for identity
[ https://issues.apache.org/jira/browse/GROOVY-11415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17859802#comment-17859802 ]
Eric Milles commented on GROOVY-11415:
--------------------------------------
I don’t think this type of change should be in a point release. In 5 it has time to be tested and considered properly.
> 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)