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

Jochen Theodorou closed GROOVY-7249.
------------------------------------
    Resolution: Won't Fix

primopts are removed and stay removed

> primopts failing to optimize in if condition
> --------------------------------------------
>
>                 Key: GROOVY-7249
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7249
>             Project: Groovy
>          Issue Type: Bug
>          Components: primtive opts
>            Reporter: Jochen Theodorou
>            Priority: Major
>
> {code:Java}
>  int[] x = new int[n]
>  if (x[1]==0){}
> {code}
> in this code primopts fail to optimize the array access in the if-condition 
> and does dynamic access instead, even though this is not required



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

Reply via email to