|
|
|
|
|
by masklinn
1534 days ago
|
|
> I don't think so - unless you mean always interning all strings. The point of symbols is you can do a single address comparison. How can you do that if you could have two strings that are the same but have different addresses? You intern all the literals (which includes lexical symbols) and are 99% if the way there. |
|
I don't understand - if you're not 100% of the way there then you can't rely on address comparison. 1% of your string comparisons would fail!