about selectorsDo: versus selectors do:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

about selectorsDo: versus selectors do:

Stéphane Ducasse
nicolas

following the includesSelectors: fix I imagine that replacing all the  
selectors do: by selectorsDo:
will avoid creating unnecessary intermediate collection.
I checked and there are some places where we could fix that.

Stef

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: about selectorsDo: versus selectors do:

Nicolas Cellier
Yes !

Just beware of a few loops that could modify the methodDictionary.

2009/10/24 Stéphane Ducasse <[hidden email]>:

> nicolas
>
> following the includesSelectors: fix I imagine that replacing all the
> selectors do: by selectorsDo:
> will avoid creating unnecessary intermediate collection.
> I checked and there are some places where we could fix that.
>
> Stef
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project