The Trunk: Traits-pre.312.mcz

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

The Trunk: Traits-pre.312.mcz

commits-2
Nicolas Cellier uploaded a new version of Traits to project The Trunk:
http://source.squeak.org/trunk/Traits-pre.312.mcz

==================== Summary ====================

Name: Traits-pre.312
Author: pre
Time: 12 June 2019, 5:59:48.264868 pm
UUID: f2ec63fa-f6e8-0347-a2c6-fb8623cb4a92
Ancestors: Traits-nice.311

This speeds up the compilation of methods in traits or in classes using traits by caching subsequent reads to the changes file.

=============== Diff against Traits-nice.311 ===============

Item was changed:
  ----- Method: ClassDescription>>updateTraits (in category '*Traits-NanoKernel') -----
  updateTraits
  "Recompute my local traits composition"
+ CurrentReadOnlySourceFiles cacheDuring: [
+ self installTraitsFrom: self traitComposition]!
- self installTraitsFrom: self traitComposition.
- !

Item was changed:
  ----- Method: TraitDescription>>addSelectorSilently:withMethod: (in category 'operations') -----
  addSelectorSilently: selector withMethod: compiledMethod
  "Overridden to update the users of this trait"
+ CurrentReadOnlySourceFiles cacheDuring: [
+ super addSelectorSilently: selector withMethod: compiledMethod.
+ self users do:[:each| each updateTraits]]!
- super addSelectorSilently: selector withMethod: compiledMethod.
- self users do:[:each| each updateTraits].!