What version are you using?
In Pharo 3 it just checks the identity, species, and then accesses some inst vars. What objects are instantiated? Esteban A. Maringolo wrote > I'm grouping by date a resultset coming from the database, it > cointains around 2000 dated objects. > > It is: > myObject groupBy: #date. > > But turn's out that DateAndTime #= comparison is elegant object-wise > but not performance-wise. Because it instantiates several other > objects along the way. > > This is in the milliseconds range, but in the agregate of a couple of > thousand of objects, it creates a lot of not-simple-objects (it is, > not integers), and maybe because of that it isn't as fast as I'd > expect. > > Did somebody experienced this too? > > Regards, > > Esteban A. Maringolo -- View this message in context: http://forum.world.st/DateAndTime-slow-tp4750964p4750971.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.