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

Phil Steitz reopened MATH-276:
------------------------------


Per Luc's comment on dev list, we need to address serialization overhead issue. 
 Custom serialization and new fields transient?

> 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.

Reply via email to