Details
-
Task
-
Status: Closed
-
Minor
-
Resolution: Done
-
1.3
-
None
-
None
Description
The SeedFactory is used to create seeds for the random generators. To ensure thread safety this uses synchronized blocks around a single generator. The current method only generates a single int or long per synchronisation. Analyze the performance of this approach. The analysis will investigate generating multiple values inside each synchronisation around the generator.
This analysis will also investigate methods to supplement the SeedFactory with fast methods to create seeds. This will use a fast seeding method to generate a single long value. This can be a seed for a SplitMix generator used to create a seed of any length.