[ https://issues.apache.org/jira/browse/GROOVY-10921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17705705#comment-17705705 ]
Paul King commented on GROOVY-10921: ------------------------------------ I have been meaning to get an email together but I haven't had time yet. That was why I hadn't merged yet. I probably should have set as draft. The reasoning is to avoid/minimise the needing for casting but I haven't finished working through all of the ramifications. Once I get the next releases out I will get back to the email. We still have time, I don't have any imminent release plans for Groovy 5 alpha1. > Optimised variants for AGM#each > ------------------------------- > > Key: GROOVY-10921 > URL: https://issues.apache.org/jira/browse/GROOVY-10921 > Project: Groovy > Issue Type: Improvement > Reporter: Paul King > Assignee: Paul King > Priority: Major > Fix For: 5.0.0-alpha-1 > > > Similarly as for min/max, we can have variants for each which use IntConsumer > and save boxing/unboxing overheads. -- This message was sent by Atlassian Jira (v8.20.10#820010)