[webkit-dev] When should I use AtomicString vs String?

Brendan Long self at brendanlong.com
Fri May 31 15:00:01 PDT 2013


So should I just never use String and always use AtomicString?

On 05/31/2013 03:14 PM, Daker Pinheiro wrote:
> It is faster to compare and hash AtomicString than regular Strings.
>
>
> On Fri, May 31, 2013 at 5:57 PM, Brendan Long <self at brendanlong.com
> <mailto:self at brendanlong.com>> wrote:
>
>     I hope this isn't a stupid question, but I can't find any
>     references to
>     what the difference between AtomicString and String is. It looks like
>     AtomicString is generally preferred, but I don't know why. Can someone
>     fill me in on this? Is there any refences for the classes in WTF?
>
>
>     _______________________________________________
>     webkit-dev mailing list
>     webkit-dev at lists.webkit.org <mailto:webkit-dev at lists.webkit.org>
>     https://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
>
>
> -- 
> Daker Fernandes Pinheiro
> http://codecereal.blogspot.com
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130531/8f0e34c1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130531/8f0e34c1/attachment.sig>


More information about the webkit-dev mailing list