[squeak-dev] Rectangle>>merging: does not accepts Sets anymore

Stéphane Rollandin lecteur at zogotounga.net
Sat Feb 13 16:49:57 UTC 2021


>> I don't have an easy way to verify, but it looks like adding #asArray
>> might resolve the issue for Sets (e.g. listOfRects asArray in #merging:).

Yes it would, but at a cost that I would better avoid (both in term of 
performance and GC), since #merging: is a pretty fundamental method for 
computational geometry.

Best,

Stef


More information about the Squeak-dev mailing list