[Interest] QueuedConnection, QByteArray, reserve, capacity

Thiago Macieira thiago.macieira at intel.com
Fri Jun 2 18:07:30 CEST 2017


On Friday, 2 June 2017 01:51:40 PDT Yuri Alexandrov wrote:
> I was just proposing something like
> setAllocationPolicy( some Enum/int )
> or
> setAllocationFlags( int with some bit fields)
> 
> which might control how an allocation is done.

That's exactly what I had understood and I said that we'd need to store the 
allocation policy somewhere in QByteArray's internals. And I'm rejecting that 
as too much overhead for the 99% case use of QByteArray.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list