
5 Jun
2007
5 Jun
'07
1:43 a.m.
Andy wrote:
4. Use the current seed as the random numbers directly. Will this solution provide 'good' uuids? That is, is this source of random numbers good enough?
Thanks! This is the assurance I needed.
Andy.
Would this solution be much slower than using a static mt19937 engine? Sorry to keep harping on speed, but I see a significant use case for the UUID library in distributed systems generating lots of unique identifiers independently. If it is significantly slower without generating "better" random numbers than mt19937, then I would suggest a big note in the documentation recommending the uuid::create(engine) function for single-threaded applications. Dave Jenkins