<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/D7995" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Re: the "highly experimental" remark somewhere above:</p>
<p>What I could do is continue to handle inotify-based dirwatchers as they were. This internal dirwatching method is so efficient that it brings out the overhead inherent to my multithreaded approach. It could then be a separate effort to investigate whether or not it needs to keep watching everything, not just directories.</p>
<p>Implementing this shouldn't be very complicated</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">check the internal method after initial KDirWatch creation; if "Inotify" to the original addDir call and connect to the <tt style="background: #ebebeb; font-size: 13px;">created</tt> signal instead of <tt style="background: #ebebeb; font-size: 13px;">dirty</tt></li>
<li class="remarkup-list-item">make the ProjectWatcher argument optional again for FileManagerListJob and pass nullptr when using Inotify.</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7995" rel="noreferrer">https://phabricator.kde.org/D7995</a></div></div><br /><div><strong>To: </strong>rjvbb, KDevelop, mwolff<br /><strong>Cc: </strong>aaronpuchert, arrowdodger, kfunk, dfaure, mwolff, brauch, kdevelop-devel, geetamc, Pilzschaf, akshaydeo, surgenight<br /></div>