<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - We should also store the time information for recent searches"
   href="https://bugs.webkit.org/show_bug.cgi?id=148388#c30">Comment # 30</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - We should also store the time information for recent searches"
   href="https://bugs.webkit.org/show_bug.cgi?id=148388">bug 148388</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>(In reply to <a href="show_bug.cgi?id=148388#c29">comment #29</a>)
<span class="quote">&gt; (In reply to <a href="show_bug.cgi?id=148388#c28">comment #28</a>)
&gt; &gt; &gt; Source/WebKit/mac/WebCoreSupport/SearchPopupMenuMac.mm:99
&gt; &gt; &gt; +    [recentSearchesPlist writeToFile:searchFieldRecentSearchesPlistPath() atomically:YES];
&gt; &gt; 
&gt; &gt; Using atomically:YES is costly in performance and in NAND life. We should be
&gt; &gt; sure this is necessary.
&gt; 
&gt; I am setting it to YES because I am afraid the file might be corrupted while
&gt; writing. With my previous approach of reading the plist from disk, I assume
&gt; the file should be in the expected format. Your suggestions above will
&gt; alleviate the problem. But I still think we should write atomically, what do
&gt; you think?</span >

No, I don’t think we should do the atomic write. In theory it might reduce the chance that the file will be corrupted, but in practice I think its cost outweighs its benefit. Should probably talk to some other WebKit experts about it.</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>