Done in 10085 Stef On Oct 3, 2008, at 8:08 AM, Marcus Denker wrote:
On 02.10.2008, at 21:59, Stéphane Ducasse wrote:
Hi marcus
did you harvest ?
No, but this looks good.
Marcus
Name: Kernel-dc.198 Author: dc Time: 28 September 2008, 4:00:03 pm UUID: 3b2eeec4-6461-4d22-94d1-e7f692e7e177 Ancestors: Kernel-marcus.denker.197
- M7166: speedup allSelectors add allSelectorsBelow:.
Firstly #allSelectors inefficiently creates multiple intermediate collections. Refactoring this yields a 27% speed improvement.
Secondly many users of #allSelectors forget that when applied to the class side it doesnt stop at ProtoObject class, it continues to Class ClassDescription, Behavior, Object and ProtoObject. This is catered for by adding #allSelectorsBelow:
Magritte and SUnit are heavy users which benefit.
I imagine not so I will.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Marcus Denker -- denker@iam.unibe.ch http://www.iam.unibe.ch/~denker
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project