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

Luc Maisonobe resolved MATH-1090.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.3

Fixed in subversion repository as of r1559746.

> IntervalsSet should implement Iterable<double[]>
> ------------------------------------------------
>
>                 Key: MATH-1090
>                 URL: https://issues.apache.org/jira/browse/MATH-1090
>             Project: Commons Math
>          Issue Type: New Feature
>    Affects Versions: 3.2
>         Environment: all
>            Reporter: Luc Maisonobe
>            Priority: Minor
>             Fix For: 3.3
>
>
> Currently, iterating over the intervals of an IntervalsSet instance requires 
> to convert the instance to a list using asList(). This implies that a full 
> copy of the data is done, even if one only want to iterates one and look at 
> intervals one at a time.
> Having IntervalsSet implement Iterable<double[]> by itself, simply walking in 
> the underlying BSP tree would save some memory resources.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to