Re: [gtk-list] Re: Are GHashTable's deterministic?

Havoc Pennington wrote:
> If you hash with the same keys you should get the same order each time,
> though you can't rely on that order.
> Maybe your hash keys are pointers or some other value that is not the same
> each time.

Yes! That's exactely the answer I was looking for. I am indeed using
pointers as hash keys.

Thanks a lot for your answer

Stéphane Popinet

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]