[squeak-dev] Daily Commit Log

commits at source.squeak.org commits at source.squeak.org
Mon Jan 20 23:55:10 UTC 2014


Changes to Trunk (http://source.squeak.org/trunk.html) in the last 24 hours:

http://lists.squeakfoundation.org/pipermail/packages/2014-January/006917.html

Name: Environments-ul.46
Ancestors: Environments-cwp.45

- removed Environment>>exports which was referencing the removed instance variable exports

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2014-January/006918.html

Name: Collections-ul.562
Ancestors: Collections-cwp.561

- fixed SequenceableCollection class >> new:streamContents: as suggested by Nicolas Cellier

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2014-January/006919.html

Name: CollectionsTests-dtl.212
Ancestors: CollectionsTests-dtl.211

Add OrderedCollectionTest>>testStreamContentsPositioning.

String class>>new:streamContents: optimizes performance by answering originalCollection in the case of a stream positioned to the size of its original collection. This fails if the stream has been repositioned backwards to its original length.

The optimization was introduced in Collections-ar.129 which merges Collections-ul.128 from inbox:

- introduced #new:streamContents: in SequenceableCollection class. It's like #streamContents: but if you know the size of the new collection this method doesn't copy the result.
- updated SequenceableCollection class >> #streamContents: to use #new:streamContents:, kept the original default size 100.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2014-January/006920.html

Name: CollectionsTests-dtl.213
Ancestors: CollectionsTests-dtl.212

Move testStreamContentsPositioning to WriteStreamTest

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2014-January/006921.html

Name: Collections-ul.563
Ancestors: Collections-ul.562

Use the intended fix instead ofanother one for SequenceableCollection class>>new:streamContents:.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2014-January/006922.html

Name: CollectionsTests-dtl.214
Ancestors: CollectionsTests-dtl.213

Update comment for WriteStreamTest>>testStreamContentsPositioning and add check to ensure that the expected optimization occurs (to prevent future regressions).

=============================================


More information about the Squeak-dev mailing list