4 ms·
The C++ standard gives little guarantees for the quality of std::random_device. As I remember, MinGW on Windows uses the Mersenne Twister with a hardcoded seed
by pbsd 13y ago
The C++ standard gives little guarantees for the quality of std::random_device. As I remember, MinGW on Windows uses the Mersenne Twister with a hardcoded seed for it.
boost::random_device, on the other hand, has better guarantees: it is only implemented where there's a decent entropy source.
- mike-cardwell 13y agoThanks for the info. Seeing as I'm already using boost, that sounds very useful.