[Interest] [External]Re: How to get QtConcurrent to do what I want?

Thiago Macieira thiago.macieira at intel.com
Tue Feb 1 19:48:47 CET 2022


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





More information about the Interest mailing list