On Tuesday, 1 February 2022 08:30:52 PST Murphy, Sean wrote: > I just made that switch - removed the QRandomGenerator member variable > From the tile class, and calling QRandomGenerator::global()->bounded(min, > max). Now creating + assigning each tile plummeted from 18 seconds to 15 > milliseconds.
Unfortunately, QRNG has now as ABI requirement that it uses the Mersenne twister. That means it's 624 * 4 bytes in size (plus overhead) and must seed that thing, which is non-trivial math. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel DPG Cloud Engineering _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest