[Development] qHash / QHash changes

Thiago Macieira thiago.macieira at intel.com
Tue Apr 17 14:39:37 CEST 2012


On terça-feira, 17 de abril de 2012 12.02.00, Giuseppe D'Angelo wrote:
> On 17 April 2012 08:59, Olivier Goffart <olivier at woboq.com> wrote:
> > By not salting the hash for integer.
> > Or only doing it before applying the %
> 
> Or specialize some QHash / QHashNode member for int key and re-xoring
> with the seed?

That assumes that we'll keep on using a reversible algorithm.

> But I can't say I'm familiar with that code and will have no time to
> do that asap -- would you accept a patch to reenable that in a couple
> of weeks if nobody steps up?

Yes. In fact, I was expecting it :-)

That's why I said it was ok for you to disable it now and re-enable it later, 
before 5.0.


-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- 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/development/attachments/20120417/57a308f2/attachment.sig>


More information about the Development mailing list