string sharing (possible bug?)
Tim Olson
tim at jumpnet.com
Thu Dec 10 03:46:38 UTC 1998
>Its a policy thing. Think about it and work out your policy.
>
>When I was a VW developer we always initialized potentially mutable strings
>like this:
>
>s1 := String new: 'abc'. (which I don't see in String in squeak....add it in
>a second though)
try:
s1 := String newFrom: 'abc'.
-- tim
More information about the Squeak-dev
mailing list
|