Levente Uzonyi uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-ul.252.mcz==================== Summary ====================
Name: Collections-ul.252
Author: ul
Time: 14 December 2009, 2:55:19 am
UUID: c3608b76-4031-4b47-b4c2-c9f0d413f81c
Ancestors: Collections-nice.251
- fix: let WideString >> #replaceFrom:to:with:startingAt: use the primitive if replacement is a ByteString
=============== Diff against Collections-nice.251 ===============
Item was changed:
----- Method: WideString>>replaceFrom:to:with:startingAt: (in category 'accessing') -----
replaceFrom: start to: stop with: replacement startingAt: repStart
<primitive: 105>
+ replacement class == ByteString ifTrue: [
+ ^self replaceFrom: start to: stop with: replacement asWideString startingAt: repStart ].
+ ^super replaceFrom: start to: stop with: replacement startingAt: repStart.
- replacement class == String ifTrue: [
- ^ self replaceFrom: start to: stop with: (replacement asWideString) startingAt: repStart.
- ].
-
- ^ super replaceFrom: start to: stop with: replacement startingAt: repStart.
!