Commons Math
  1. Commons Math
  2. MATH-1090

IntervalsSet should implement Iterable<double[]>

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.3
    • Labels:
      None
    • Environment:

      all

      Description

      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.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1h 33m 1 Luc Maisonobe 20/Jan/14 17:01
        Resolved Resolved Closed Closed
        118d 22h 12m 1 Luc Maisonobe 19/May/14 15:13
        Luc Maisonobe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Luc Maisonobe added a comment -

        Closing all resolved issue now available in released 3.3 version.

        Show
        Luc Maisonobe added a comment - Closing all resolved issue now available in released 3.3 version.
        Luc Maisonobe made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 3.3 [ 12324600 ]
        Resolution Fixed [ 1 ]
        Hide
        Luc Maisonobe added a comment -

        Fixed in subversion repository as of r1559746.

        Show
        Luc Maisonobe added a comment - Fixed in subversion repository as of r1559746.
        Luc Maisonobe created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Luc Maisonobe
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development