Opened 8 years ago

Closed 5 years ago

#10939 closed Feature Requests (fixed)

Platform-specific random uuid generator

Reported by: mjklaim@… Owned by: Andy Tompkins
Milestone: Boost 1.66.0 Component: uuid
Version: Boost 1.57.0 Severity: Optimization
Keywords: Cc:

Description

Following this exchange: https: twitter.com/niv_anteru/status/487496938150195200

A platform-specific random generator would apparently be far more efficient (I say apparently because I didn't know there were platform-specific uuid generation until I read this tweet).

Change History (2)

comment:1 by mjklaim@…, 8 years ago

Related discussion: boost.2283326.n4.nabble.com/uuid-Platform-specific-UUID-generator-was-Re-Issue-9407-please-merge-fix-td4671316.html

comment:2 by James E. King, III, 5 years ago

Milestone: To Be DeterminedBoost 1.66.0
Resolution: fixed
Status: newclosed

I am resolving this as fixed. https://github.com/boostorg/uuid/pull/21 proves you can use boost::random::random_device which satisfies your request. This is likely fixed much earlier than the milestone I am going to set (1.66) based on the commit of that unit test change.

Note: See TracTickets for help on using tickets.