commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (MATH-276) Calculate isNan and isFinite in Complex constructor
Date Wed, 17 Jun 2009 11:02:07 GMT

     [ https://issues.apache.org/jira/browse/MATH-276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Phil Steitz resolved MATH-276.
------------------------------

    Resolution: Fixed

Patch applied in r785552.  Thanks!

> Calculate isNan and isFinite in Complex constructor
> ---------------------------------------------------
>
>                 Key: MATH-276
>                 URL: https://issues.apache.org/jira/browse/MATH-276
>             Project: Commons Math
>          Issue Type: Improvement
>    Affects Versions: 2.0
>            Reporter: Mark Anderson
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: Complex.patch
>
>
> From profiling some code performing a large number of FFT operations I found that due
to isNaN being called as part of complex arithmetic a large proportion of time was spent within
isNaN.
> I would propose calculating isNaN and isFinite in the constructor to save calculating
these values each time the methods are called.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message