<table><tr><td style="">rjvbb added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D9824" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>David Faure wrote on 20180119::08:33:32 re: "<a href="https://phabricator.kde.org/D9824" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">D9824</a>: Optimize inotify KDirWatch backend: map inotify wd to Entry"</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">Then why didn't you open XXX yourself to look for XXX like I did? It's not rocket science, and it would have moved the discussion forward.</pre></div></blockquote>

<p>From previous experience the local culture is that a patch author explains why s/he does things and not certain other things (when asked). I don't always appreciate that when I'm the author but recognise that it's not an unreasonable principle.</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">Correct for FAM.
Doesn't turn out to be the case for the other backends.</pre></div></blockquote>

<p>It should not have taken the OA long to establish this (me undoubtedly much longer).<br />
As he's likely to say himself: "Don't assume, measure".</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">clang-parsing is outside of KDirWatch's responsibilities. The point of all this is to make KDirWatch itself faster, isn't it?</pre></div></blockquote>

<p>Yeah, and there's a hole in my bucket ... If this makes KDW faster in ways that you can hardly measure under normal use there was little point even to ask for a review.</p>

<p>Seriously, if something as simple as walking a list takes 7 minutes, how long would doing something (undoubtedly more time consuming) with all those file take? That's not a reason NOT to do (micro) optimisations, of course (but maybe a reason not to treat it as something spectacular).</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">I thought you found it slow yourself, surely you can't object to Milian working on making it faster, whatever else the applications do after a change notification...</pre></div></blockquote>

<p>Of course, but I wonder why I'm still getting tricked in replying if my actual points aren't being read. What is slow in my experience is feeding a KDW instance. In every other experience I have with runtime behaviour and reaction to file changes the bottleneck is not KDW but whatever happens downstream.</p>

<p>That's another reason why I haven't jumped in; I don't use any application where reaction time to filesystem changes is critical (or even too long to my taste). And if I did I'd be looking at cutting out layers between my code and the notification source.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R244 KCoreAddons</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9824" rel="noreferrer">https://phabricator.kde.org/D9824</a></div></div><br /><div><strong>To: </strong>mwolff, dfaure, rjvbb, KDevelop, markg<br /><strong>Cc: </strong>aaronpuchert, bcooksley, zimmerman, markg, Frameworks<br /></div>