[Interest] qt5 settings ini format regression

Thiago Macieira thiago.macieira at intel.com
Tue Jan 1 18:59:47 CET 2013


On terça-feira, 1 de janeiro de 2013 16.58.06, Frank Hemer wrote:
> Done, @see here:
> https://bugreports.qt-project.org/browse/QTBUG-28893
> 
> Thanks Thiago for the detailed diff - looking over the code I suspect the 
> splitting into several sections being an old issue that was possibly never 
> recognized but didn't do any harm as the map reading the values put all
> things  together.
> 
> Anyway since 5.0 this fails ... maybe a change in the map being used? (I
> love  these sideeffects *ironie*)

The QMap implementation was completely changed in Qt 5.0. In Qt 4, it was a 
skiplist; in Qt 5, it's an RB tree -- the same implementation as Qt 3.

The QHash implementation has received a random hashing, which changes all the 
buckets.

In both cases, those changes may have made old bugs surface.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130101/5ef3501e/attachment.sig>


More information about the Interest mailing list