[squeak-dev] The Inbox: Collections-ct.827.mcz
Marcel.Taeumel at hpi.de
Wed Jun 5 07:48:43 UTC 2019
> Sending #asArray would introduce the unnecessary creation of an
> interim collection for every single query, even while making the code
> unnecessarily wordy and harder to read.
You assume that it would be a common case to join non-seq collections. I
argue that this is not the case. In those situations where you do have a
non-seq collection, it would help readability to make the order explicit.
Your concern about performance issues remains to be evaluated; it cannot be
part of this decision here.
Code readability first.
Performance improvements later, after benchmarked.
Just my two cents. ;-)
Sent from: http://forum.world.st/Squeak-Dev-f45488.html
More information about the Squeak-dev