[squeak-dev] The Trunk: Collections-fn.869.mcz
leves at caesar.elte.hu
Fri Jan 3 22:52:52 UTC 2020
It's a nice improvement, but isn't it feature freeze with "only bugfixes,
but no new features"?
On Fri, 3 Jan 2020, commits at source.squeak.org wrote:
> Fabio Niephaus uploaded a new version of Collections to project The Trunk:
> ==================== Summary ====================
> Name: Collections-fn.869
> Author: fn
> Time: 3 January 2020, 10:27:08.945712 am
> UUID: c29ef38b-f152-468e-bac9-74515c099ac4
> Ancestors: Collections-nice.868
> Add quick-check for identity to String>>sameAs: (similar to Character>>sameAs:).
> [MenuIcons smallInspectItIconContents sameAs: MenuIcons smallInspectItIconContents] bench
> 1,740,000 per second. 574 nanoseconds per run. 0 % GC time.
> 94,800,000 per second. 10.5 nanoseconds per run. 0 % GC time.
> =============== Diff against Collections-nice.868 ===============
> Item was changed:
> ----- Method: String>>sameAs: (in category 'comparing') -----
> sameAs: aString
> "Answer whether the receiver sorts equal to aString. The
> collation sequence is ascii with case differences ignored."
> + self == aString ifTrue: [ ^true ].
> ^(self compare: aString caseSensitive: false) = 2!
More information about the Squeak-dev