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

Prevent "save/restore"

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • None
    • 1.0
    • simple
    • None

    Description

      It is proposed to provide a factory method that will create a UniformRandomProvider instance that forbids saving or restoring its state.

      It could be deemed safer when a shared RNG is passed to "untrusted" client code.

      Attachments

        Activity

          People

            erans Gilles Sadowski
            erans Gilles Sadowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: