D9824: Optimize inotify KDirWatch backend: map inotify wd to Entry

Mark Gaiser noreply at phabricator.kde.org
Mon Jan 15 10:14:02 UTC 2018


markg added inline comments.

INLINE COMMENTS

> dfaure wrote in kdirwatch.cpp:721
> .insert(e->wd, e) is a hair faster, says Effective STL Item 24 :)

m_inotify_wd_to_entry is a QHash, not a std::unordered_map ;)
Not sure if the same rules from that book apply to Qt (i doubt it).

REPOSITORY
  R244 KCoreAddons

REVISION DETAIL
  https://phabricator.kde.org/D9824

To: mwolff, dfaure, rjvbb, #kdevelop
Cc: markg, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180115/ba70c1f9/attachment.html>


More information about the Kde-frameworks-devel mailing list