<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Performance regression in git compared 2.11"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94427#c12">Comment # 12</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Performance regression in git compared 2.11"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94427">bug 94427</a>
              from <span class="vcard"><a class="email" href="mailto:msnduy@hotmail.de" title="msnduy@hotmail.de">msnduy@hotmail.de</a>
</span></b>
        <pre>Noob here.

I have noticed that there is an inefficiency in the function: FcCacheDirsValid
(That was newly added).
The only value that it is really using is "FcCache::dirs_count" so the whole
stuff around "FcStrSet" is totally rubbish. One could simply rewrite the
"FcDirScanOnly" function so that it only counts the directories (dirs_count)
without all that stringset stuff.

<a href="https://gist.github.com/anonymous/5117f5ac08ae50f38e12ddebd1fb2e41">https://gist.github.com/anonymous/5117f5ac08ae50f38e12ddebd1fb2e41</a>

(Had a hard time writing that code, my C is a little rusty...)

Note: The patch compiles but I haven't tried it yet.</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>