> yyyyyyyyeeeeeeeeeeesssssssssssssssssssssssss > and get linearrrrrrrrrrrrrrrrrrrrrly boring and slow.
Yes, but only if your objects don't implement #hash properly. HashMap trades space and time to get O(1) behavior IF you have lots of elements with bad hash values. If the hash values are good (which is the case most of the time) or if you have not that many elements (which is the case most of the time), it is a waste of time and space though. Lukas -- Lukas Renggli http://www.lukas-renggli.ch _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
