Uploaded image for project: 'Commons RNG'
  1. Commons RNG
  2. RNG-75

Improve the speed of the RandomSource create method.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • 1.3
    • 1.3
    • simple
    • None

    Description

      Update the o.a.c.rng.simple.internal package to improve the construction speed of random generators.

      Areas identified by the construction benchmark RNG-72 include:

      • Update the RandomSourceInternal to know the desired size for the native seed
      • Update the SeedFactory for faster byte[] conversions
      • Remove the use of reflection for fast seeding generators

      It is intended that all changes made are non-destructive to the quality of any generated seed.

      Attachments

        1. large.jpg
          20 kB
          Alex Herbert
        2. long.jpg
          18 kB
          Alex Herbert
        3. small.jpg
          39 kB
          Alex Herbert

        Issue Links

          Activity

            People

              aherbert Alex Herbert
              aherbert Alex Herbert
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: