Quantcast

The Trunk: Collections-nice.754.mcz

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

The Trunk: Collections-nice.754.mcz

commits-2
Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.754.mcz

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

Name: Collections-nice.754
Author: nice
Time: 5 May 2017, 10:19:34.289321 pm
UUID: 5845f4e7-535d-4be0-9579-e925731e8dab
Ancestors: Collections-ul.753, Collections-nice.753

Merge

Collections-ul.753:
        - minor tweaks for String class >> #compare:with:collated: and String >> #findSubstring:in:startingAt:matchTable:

Collections-nice.753:
        Nuke obsolete brace constructs used by compiler long long ago.

Since encoder v3 (plus closures) there is a dedicated byte code for constructing those arrays dynamically, so the #braceWith: like messages are not sent for a while and won't be used anymore in foreseeable future.

=============== Diff against Collections-ul.753 ===============

Item was removed:
- ----- Method: Array class>>braceWith: (in category 'brace support') -----
- braceWith: a
- "This method is used in compilation of brace constructs.
- It MUST NOT be deleted or altered."
-
- | array |
- array := self new: 1.
- array at: 1 put: a.
- ^ array!

Item was removed:
- ----- Method: Array class>>braceWith:with: (in category 'brace support') -----
- braceWith: a with: b
- "This method is used in compilation of brace constructs.
- It MUST NOT be deleted or altered."
-
- | array |
- array := self new: 2.
- array at: 1 put: a.
- array at: 2 put: b.
- ^ array!

Item was removed:
- ----- Method: Array class>>braceWith:with:with: (in category 'brace support') -----
- braceWith: a with: b with: c
- "This method is used in compilation of brace constructs.
- It MUST NOT be deleted or altered."
-
- | array |
- array := self new: 3.
- array at: 1 put: a.
- array at: 2 put: b.
- array at: 3 put: c.
- ^ array!

Item was removed:
- ----- Method: Array class>>braceWith:with:with:with: (in category 'brace support') -----
- braceWith: a with: b with: c with: d
- "This method is used in compilation of brace constructs.
- It MUST NOT be deleted or altered."
-
- | array |
- array := self new: 4.
- array at: 1 put: a.
- array at: 2 put: b.
- array at: 3 put: c.
- array at: 4 put: d.
- ^ array!

Item was removed:
- ----- Method: Array class>>braceWithNone (in category 'brace support') -----
- braceWithNone
- "This method is used in compilation of brace constructs.
- It MUST NOT be deleted or altered."
-
- ^ self new: 0!


Loading...