<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [test262] Fixing mapped arguments object property test case"
   href="https://bugs.webkit.org/show_bug.cgi?id=159398#c39">Comment # 39</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [test262] Fixing mapped arguments object property test case"
   href="https://bugs.webkit.org/show_bug.cgi?id=159398">bug 159398</a>
              from <span class="vcard"><a class="email" href="mailto:ticaiolima&#64;gmail.com" title="Caio Lima &lt;ticaiolima&#64;gmail.com&gt;"> <span class="fn">Caio Lima</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=159398#c30">comment #30</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=284980&amp;action=diff" name="attach_284980" title="Patch">attachment 284980</a> <a href="attachment.cgi?id=284980&amp;action=edit" title="Patch">[details]</a></span>
&gt; Patch
&gt; 
&gt; View in context:
&gt; <a href="https://bugs.webkit.org/attachment.cgi?id=284980&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=284980&amp;action=review</a>
&gt; 
&gt; &gt; Source/JavaScriptCore/runtime/GenericArguments.h:59
&gt; &gt; +private:
&gt; &gt; +
&gt; 
&gt; WebKit coding style does not leave a blank line here.
&gt; 
&gt; &gt; Source/JavaScriptCore/runtime/GenericArgumentsInlines.h:165
&gt; &gt; +    if (!canDeletePropertyById(thisObject, exec, ident))
&gt; &gt; +        return false;
&gt; 
&gt; This means looking up every property twice when deleting it, once to see if
&gt; it can be deleted and then a second time to actually delete it. Is there any
&gt; way to get the correct behavior without adding the double lookup?</span >

I can't see an clear way to do that, but I am totally open to discuss about a viable solution =). As I commented above, the lookup is necessary because I want to avoid create a new auxiliar data structure to store if the argument[i] is configurable. Since these properties can be sparse, this data structure need to be dynamic such as m_overrides. IMHO the complexity of this kind of optimization isn't worth enough when comparing with readability.</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>