[ https://issues.apache.org/jira/browse/GROOVY-7319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17680989#comment-17680989 ]
ASF GitHub Bot commented on GROOVY-7319: ---------------------------------------- paulk-asert closed pull request #1849: GROOVY-7319: Add primitive array min() and max() URL: https://github.com/apache/groovy/pull/1849 > Add primitive array min() and max() > ----------------------------------- > > Key: GROOVY-7319 > URL: https://issues.apache.org/jira/browse/GROOVY-7319 > Project: Groovy > Issue Type: Improvement > Components: groovy-jdk > Reporter: Yu Kobayashi > Priority: Major > > I added a package groovy.util.function. > This is similar to java.util.function of Java 8. > I added IntComparator, LongComparator, ..., to this package. > I did not use Comparator because IntComparator is faster than Comparator. > If I use Comparator, Java will create Integer instances every time. > The pull request is https://github.com/groovy/groovy-core/pull/616 -- This message was sent by Atlassian Jira (v8.20.10#820010)