Begin forwarded message:
Date: Tue, 25 Oct 2016 22:31:15 0000 From: commits@source.squeak.org To: squeak-dev@lists.squeakfoundation.org, packages@lists.squeakfoundation.org Reply-To: squeak-dev@lists.squeakfoundation.org Subject: The Trunk: Collections-nice.722.mcz Message-Id: E1bzAFZ-0007Z4-22@andreas
Nicolas Cellier uploaded a new version of Collections to project The Trunk: http://source.squeak.org/trunk/Collections-nice.722.mcz
==================== Summary ====================
Name: Collections-nice.722 Author: nice Time: 26 October 2016, 12:27:56.637026 am UUID: e951d8a8-3e64-4f5c-821a-6aad7a1955c4 Ancestors: Collections-eem.721
Improve anyOne: don't perform an emptyCheck before extracting any element, that's useless: anyOne is an empty check by itself ;). Extract first if we can, then error if we can't.
Correct DoubleByteArray comment (it's not HalfWordArray anymore)
=============== Diff against Collections-eem.721 ===============
Item was changed: ----- Method: Collection>>anyOne (in category 'accessing') ----- anyOne "Answer a representative sample of the receiver. This method can be helpful when needing to preinfer the nature of the contents of semi-homogeneous collections."
- self do: [:each | ^ each].
- self errorEmptyCollection!
- self emptyCheck.
- self do: [:each | ^ each]!
Item was changed: ArrayedCollection variableDoubleByteSubclass: #DoubleByteArray instanceVariableNames: '' classVariableNames: '' poolDictionaries: '' category: 'Collections-Arrayed'!
- !DoubleByteArray commentStamp: 'nice 10/20/2016 23:23' prior: 0!
- DoubleByteArrays store 16-bit unsigned Integer values.!
- !DoubleByteArray commentStamp: 'nice 9/20/2016 23:37' prior: 0!
- HalfWordArrays store 16-bit unsigned Integer values.!
squeak-dev@lists.squeakfoundation.org