Based on the fact that AtomicString is really a singleton string, I’d like to 
suggest a new name for this class:

Stringleton

Simon

On Jun 3, 2013, at 3:37 PM, Brendan Long <[email protected]> wrote:

> On 06/01/2013 10:09 PM, Glenn Adams wrote:
>> But the name did throw me, since I asked myself "what makes this more 
>> 'atomic' than String, synchronicity wise"? I'm sure I'm not the only one who 
>> wondered about this.
> Before asking this question I had assumed AtomicString was an atomic type (as 
> in, safe to use in multi-threaded code). InternedString would have been more 
> obvious, but the biggest problem was that searching for "WebKit AtomicString" 
> didn't return any results that explained what it was. Now the top hit has an 
> explanation, so it's not a big deal.

_______________________________________________
webkit-dev mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to