Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D58A010FA0 for ; Fri, 18 Oct 2013 07:05:51 +0000 (UTC) Received: (qmail 99043 invoked by uid 500); 18 Oct 2013 07:05:47 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 98919 invoked by uid 500); 18 Oct 2013 07:05:46 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 98703 invoked by uid 99); 18 Oct 2013 07:05:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Oct 2013 07:05:43 +0000 Date: Fri, 18 Oct 2013 07:05:43 +0000 (UTC) From: "Karl Yang (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MATH-1042) StatUtils supports int[] MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)