[jira] [Commented] (NUMBERS-2) Potential performance issues in "ComplexUtils"
[ https://issues.apache.org/jira/browse/NUMBERS-2?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16940212#comment-16940212 ] Gilles Sadowski commented on NUMBERS-2: --- Current target is Java 8. > Potential performance issues in "ComplexUtils" > -- > > Key: NUMBERS-2 > URL: https://issues.apache.org/jira/browse/NUMBERS-2 > Project: Commons Numbers > Issue Type: Improvement >Reporter: Gilles Sadowski >Priority: Minor > Labels: benchmark, gsoc2019, performance > > See http://markmail.org/message/qnzauv65nb3gmz2h > To be checked with JMH benchmarking code. > Most of this class is concerned with arrays; I suggest to rename it > "ComplexArrays". -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (NUMBERS-2) Potential performance issues in "ComplexUtils"
[ https://issues.apache.org/jira/browse/NUMBERS-2?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16340929#comment-16340929 ] Gilles commented on NUMBERS-2: -- Please make a proposal on the "dev" ML. It seems that the current settings is Java 6. There are pros and cons. One of the latter might be that this would prevent using 95% of the Java 6-compatible code on pre-Java 8 environments... Of course, if we can assume that [such environments|https://plumbr.io/blog/java/java-version-and-vendor-data-analyzed-2017-edition] are not going to undergo any new development, the objection can be dropped... > Potential performance issues in "ComplexUtils" > -- > > Key: NUMBERS-2 > URL: https://issues.apache.org/jira/browse/NUMBERS-2 > Project: Commons Numbers > Issue Type: Improvement >Reporter: Gilles >Priority: Minor > Labels: benchmark, performance > > See http://markmail.org/message/qnzauv65nb3gmz2h > To be checked with JMH benchmarking code. > Most of this class is concerned with arrays; I suggest to rename it > "ComplexArrays". -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (NUMBERS-2) Potential performance issues in "ComplexUtils"
[ https://issues.apache.org/jira/browse/NUMBERS-2?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16340881#comment-16340881 ] Eric Barnhill commented on NUMBERS-2: - What about targeting Java 8 with this class and using streams? Anyone wanting to use Java 7, could use the ComplexUtils inĀ commons-math-3.x . > Potential performance issues in "ComplexUtils" > -- > > Key: NUMBERS-2 > URL: https://issues.apache.org/jira/browse/NUMBERS-2 > Project: Commons Numbers > Issue Type: Improvement >Reporter: Gilles >Priority: Minor > Labels: benchmark, performance > > See http://markmail.org/message/qnzauv65nb3gmz2h > To be checked with JMH benchmarking code. > Most of this class is concerned with arrays; I suggest to rename it > "ComplexArrays". -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (NUMBERS-2) Potential performance issues in "ComplexUtils"
[ https://issues.apache.org/jira/browse/NUMBERS-2?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16112594#comment-16112594 ] Gilles commented on NUMBERS-2: -- bq. it is hard to see a motivation to recode them as loops What do you suggest? > Potential performance issues in "ComplexUtils" > -- > > Key: NUMBERS-2 > URL: https://issues.apache.org/jira/browse/NUMBERS-2 > Project: Commons Numbers > Issue Type: Improvement >Reporter: Gilles >Priority: Minor > Labels: benchmark, performance > > See http://markmail.org/message/qnzauv65nb3gmz2h > To be checked with JMH benchmarking code. > Most of this class is concerned with arrays; I suggest to rename it > "ComplexArrays". -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NUMBERS-2) Potential performance issues in "ComplexUtils"
[ https://issues.apache.org/jira/browse/NUMBERS-2?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16112588#comment-16112588 ] Eric Barnhill commented on NUMBERS-2: - The rename is a good idea. Also, the whole class should be reimagined as a convenience class for Array streams. I realize we are not targeting Java 8 but it is hard to see a motivation to recode them as loops, when streams would work much better. > Potential performance issues in "ComplexUtils" > -- > > Key: NUMBERS-2 > URL: https://issues.apache.org/jira/browse/NUMBERS-2 > Project: Commons Numbers > Issue Type: Improvement >Reporter: Gilles >Priority: Minor > Labels: benchmark, performance > > See http://markmail.org/message/qnzauv65nb3gmz2h > To be checked with JMH benchmarking code. > Most of this class is concerned with arrays; I suggest to rename it > "ComplexArrays". -- This message was sent by Atlassian JIRA (v6.4.14#64029)