Bug 46990

Informational

GemStone/S 64 Bit

3.3.9, 3.3.8, 3.3.7, 3.3.6, 3.3.5, 3.3.4, 3.3.3, 3.3.1, 3.3, 3.2.15, 3.2.14, 3.2.13, 3.2.12, 3.2.11, 3.2.10, 3.2.9, 3.2.8, 3.2.7, 3.2.6, 3.2.5, 3.2.4, 3.2.3, 3.2.2, 3.2.1, 3.2

3.4

Random new performance

Random new defaults to creating an instance of Lag25000CmwcRandom.  This class is designed to be truly random for long sequences, and the process of creating the initial instance and seed is slow, on the order of 30 ms.

If you require a Random for single use, it it more efficient to use HostRandom or Lag1MwcRandom.

Starting with v3.4, Random new answers the HostRandom singleton, and Random seed: answers a new Lag1MwcRandom.


                

Last updated: 8/24/17