Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Illustration of a String becoming a WideString
Last updated at 10:32 am UTC on 16 December 2015
 'abc' inspect
http://www.unicode.org/charts/PDF/U0000.pdf
aString_of_BasicLatin_chars_inspect_2015-12-16.png

 'aäbc' inspect
http://www.unicode.org/charts/PDF/U0080.pdf
aString_with_a_C1_Controls_and_Latin-1_Supplement_char_2015-12-16.png

 ('aäba', 16r0308 asCharacter asString) inspect
http://www.unicode.org/charts/PDF/U0300.pdf
aString_with_a_general_Unicode_code_point.png

('aäba', 16r0308 asCharacter asString) allButLast
aString_allButLast_2015-12-16.png

 ('baa' at: 3 put: 16r0308 asCharacter; yourself) inspect
aString_at_put_2015-12-16.png


Eliot Miranda (Dec 2015, ML):
In Spur, #become: is cheap so this growth pays only for the reallocation and copying of the at a, not for an expensive heap scan necessary to do the #become:.