Begin forwarded message:
Date: Tue, 25 Oct 2016 20:53:12 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-eem.721.mcz Message-Id: E1bz8if-0006AY-K5@andreas
Eliot Miranda uploaded a new version of Collections to project The Trunk: http://source.squeak.org/trunk/Collections-eem.721.mcz
==================== Summary ====================
Name: Collections-eem.721 Author: eem Time: 25 October 2016, 1:52:30.584675 pm UUID: 2bb84a66-90fc-4430-8da4-509fef3d7eb4 Ancestors: Collections-nice.720
Comment an unexpectedly controversial method.
=============== Diff against Collections-nice.720 ===============
Item was changed: ----- Method: Collection>>isEmpty (in category 'testing') ----- isEmpty
- "Answer whether the receiver contains any elements.
This implementation uses the do: block rather than
self size = 0 since size may be implemented in terms
of do:, and hence is slow for all but very small collections."
"Answer whether the receiver contains any elements."
self do: [:element | ^false]. ^true!
squeak-dev@lists.squeakfoundation.org