> > Now I'm confused. > I read this "Collection keys are now hashed with their eight last > characters." from change log,
"Collection keys are now hashed with their eight last characters." is not the same sentence as "Collection keys are now limited to eight characters.", is it? > and I tested it with following code: > * > Dim kol As New Collection(gb.Binary) > > kol.Add("a", 12345678) > kol.Add("b", 123456789) > kol.Add("c", 1234567890) > kol.Add("d", 12345678901) > > For Each sTmp In kol > Print sTmp > Next* > > And I did get only "d" printed. Now I re-tested this before sending it to > you, and I did get: > a > b > c > d > > So there really isn't any limit!? What happened earlier?? Before, collection keys were hashed with their eight first characters. And before again, they were hashed with all characters. > Was this "uint hash = 0x9A177BA5 ^ len;" missing earlier? What are you talking about? -- Benoît Minisini ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user