[Interest] Warning about QHash keys().toVector()

Thiago Macieira thiago.macieira at intel.com
Tue Jun 15 23:23:41 CEST 2021


On Monday, 14 June 2021 13:23:41 PDT Kevin André wrote:
> > Create the QVector container, reserve the proper size, and then iterate
> > over the actions hashing table inserting the keys.
> 
> That's the "write my own conversion function" option I listed :-)

Not *exactly*. You had proposed "deal with warnings and/or write my own 
conversion functions that are probably not very efficient". I propose you 
don't do the inefficient case. :-)

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel DPG Cloud Engineering





More information about the Interest mailing list