commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Yang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MATH-1042) StatUtils supports int[]
Date Fri, 18 Oct 2013 07:05:43 GMT

    [ https://issues.apache.org/jira/browse/MATH-1042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13798856#comment-13798856
] 

Karl Yang commented on MATH-1042:
---------------------------------

I started a discussion on the 'dev' ML.
If we just add method to convert int[] to double[], when data is very large, JVM would call
GC to free the memory many times in a thread, I think it's a big cost.

> StatUtils supports int[]
> ------------------------
>
>                 Key: MATH-1042
>                 URL: https://issues.apache.org/jira/browse/MATH-1042
>             Project: Commons Math
>          Issue Type: Wish
>            Reporter: Karl Yang
>            Priority: Minor
>
> Sometimes we want to find the min value, max value, percentile in a int[], but the StatUtils
only support double[], we need to convert int[] to double[].



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message