The NewCompiler optimizes #and:and:and: to an optimized and nested #and:. The standard compiler does a normal message send with block activations for each condition and thus is dead slow.
Lukas 2010/1/4 Stéphane Ducasse <stephane.duca...@inria.fr>: > hi nicolas > > I saw that you apply some automatic refactoring in squeak about and:and: -> > and: > and I wanted to know. Is and: more optimized than and:and: (I imagine that) > but I would like > to know for sure. > > Stef > > > > > _______________________________________________ > Pharo-project mailing list > Pharo-project@lists.gforge.inria.fr > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > -- Lukas Renggli http://www.lukas-renggli.ch _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project