|
From: | Gwenaël Casaccio |
Subject: | Re: [Help-smalltalk] String compare |
Date: | Sat, 06 Jul 2013 08:41:33 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 |
On 05/07/2013 20:19, Ulf Kellermann wrote:
Hi, I'll try to refresh my smalltalk knowledge and I don't understand the behaviour as: ('abc') == ('abc') ==> *should be false* in understanding, but it is* true?* Thanks, Ulf _______________________________________________ help-smalltalk mailing list address@hidden https://lists.gnu.org/mailman/listinfo/help-smalltalk
Hi, they are the same because the compiler doesn't duplicate literals constants. Gwen
[Prev in Thread] | Current Thread | [Next in Thread] |