A new version of Traits was added to project The Inbox:
http://source.squeak.org/inbox/Traits-ul.290.mcz==================== Summary ====================
Name: Traits-ul.290
Author: ul
Time: 28 September 2012, 10:30:33.464 am
UUID: 3e58b2db-945d-5e41-b9d8-5f5880d86ca8
Ancestors: Traits-ul.289
Speed up Trait class>>allTraitsDo: by using Smalltalk instead of #allInstances.
=============== Diff against Traits-ul.289 ===============
Item was changed:
----- Method: Trait class>>allTraitsDo: (in category 'public') -----
allTraitsDo: aBlock
"Evaluate aBlock with all the instance and class traits present in the system"
+
+ Smalltalk allTraitsDo: [ :aTrait |
+ aBlock
+ value: aTrait instanceSide;
+ value: aTrait classSide ]!
- Trait allInstances do: [:aTrait|
- aBlock value: aTrait instanceSide.
- aBlock value: aTrait classSide.
- ].!