Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-1155

Speedup initialization of WellXXX rngs

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 4.0
    • Labels:
      None

      Description

      As identified in MATH-1154, initialization of the WellXXX rngs is quite costly as some internal arrays have to be computed.

      Most of these initializations are specific to the type of rng, e.g. Well19937a and will not change afterwards, thus could be initialized in a static way.

      Due to implementation details, i.e. the relevant fields are declared protected in the base class AbstractWell, such a change would not be backwards compatible and will have to be postponed to 4.0

        Attachments

        1. MATH-1155.patch
          30 kB
          Thomas Neidhart

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tn Thomas Neidhart
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: