[squeak-dev] Re: The Trunk: Collections-eem.603.mcz

tim Rowledge tim at rowledge.org
Wed Feb 4 18:56:02 UTC 2015

On 04-02-2015, at 9:20 AM, Marcel Taeumel <marcel.taeumel at student.hpi.uni-potsdam.de> wrote:

> I vote for:
> "... xx isCollection and: [xx isSequenceable] …"

And I’d prefer a simple isSequenceableCollection over that. I don’t actually like any of them because there is almost always A Better Way(™) hidden in there somewhere, but at least a very specific method is easy to track down and replace when said better way is discovered. They’re all over the place in nuScratch but the performance improvements simply from removing multiple isKindOf: sends within large loops are well worth the slight stinkiness.

tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
"How many Slavers does it take to change a lightbulb?” 
"Dunno. How susceptible are lightbulbs to telepathy?"

More information about the Squeak-dev mailing list