On Monday, 6 February 2023 15:15:36 PST Lisandro Damián Nicanor Pérez Meyer 
wrote:
> > Actually, maxNumBuckets is wrong, allowing bucketsForCapacity to overflow.
> > But in practice this will only affect you after the QHash has grown to
> > more than half the virtual memory size (which can only happen on 32-bit
> > systems today).
> > 
> > Working on a fix right now. Will push soon.
> 
> Thanks!

https://codereview.qt-project.org/c/qt/qtbase/+/458585

Aside from the load factor change, this is a no-op: it doesn't fix anything 
because no ill effects could happen anyway. But it does simplify calculations, 
so it's a win.

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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to