<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - Crash at com.apple.JavaScriptCore: bool WTF::startsWith&lt;WTF::StringImpl, WTF::StringImpl&gt; + 8"
   href="https://bugs.webkit.org/show_bug.cgi?id=156512#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - Crash at com.apple.JavaScriptCore: bool WTF::startsWith&lt;WTF::StringImpl, WTF::StringImpl&gt; + 8"
   href="https://bugs.webkit.org/show_bug.cgi?id=156512">bug 156512</a>
              from <span class="vcard"><a class="email" href="mailto:darin&#64;apple.com" title="Darin Adler &lt;darin&#64;apple.com&gt;"> <span class="fn">Darin Adler</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=276270&amp;action=diff" name="attach_276270" title="patch">attachment 276270</a> <a href="attachment.cgi?id=276270&amp;action=edit" title="patch">[details]</a></span>
patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=276270&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=276270&amp;action=review</a>

<span class="quote">&gt;&gt; Source/WebCore/cssjit/SelectorCompiler.cpp:2823
&gt;&gt; +        return false;
&gt; 
&gt; Looks like this should be merged with the &quot;AtomicStringImpl&amp; valueImpl = *attribute-&gt;value().impl();&quot; below.</span >

Checking for the null string would be more efficient than checking for the empty string for the non-null, non-empty case. So unless we want to optimize the empty string case, I suggest using isNull or checking if impl() is nullptr instead.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>