Feb. 14, 2007
12:57 a.m.
Martin v. Löwis wrote:
OTOH, in an application that needs unique strings, you normally know what the scope is (i.e. where the strings come from, and when they aren't used anymore).
That's true -- if you know that all relevant strings have been interned using the appropriate method, you can just use 'is' to compare them. -- Greg