[Issue 19836] Excessive probability of UUID collisions in std.uuid.randomUUID

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat May 18 00:39:15 UTC 2019


--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/phobos pull request #6994 "Issue 19836 followup - also fix on 32 bit
machines" was merged into master:

- 8d499765142b2bb7c97ca07d7f8b9afc17cb5776 by Nathan Sashihara:
  Issue 19836 followup - also fix on 32 bit machines

  Changed the private enhanced seeding method for `rndGen` to something
  that is fast on both 64 bit and 32 bit machines so can be enabled
  regardless of architecture. When compiled with LDC it is about 1.35x
  the speed of public `Mt19937.seed(uint)`.



More information about the Digitalmars-d-bugs mailing list