D21579: [FilteredDirIterator] Avoid RegExp overhead for exact matches

Stefan BrĂ¼ns noreply at phabricator.kde.org
Tue Jun 4 15:58:06 BST 2019


bruns created this revision.
bruns added reviewers: Baloo, ngraham, astippich, poboiko, broulik.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.

REVISION SUMMARY
  Quite a few of the filter strings are exact matches without wildcards,
  add an extra QSet for these. This saves about 30% of the runtime cost
  of the FilteredDirIterator.

TEST PLAN
  valgrind --tool=callgrind baloo_file

REPOSITORY
  R293 Baloo

BRANCH
  submit_unindexed

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

AFFECTED FILES
  src/file/regexpcache.cpp
  src/file/regexpcache.h

To: bruns, #baloo, ngraham, astippich, poboiko, broulik
Cc: kde-frameworks-devel, LeGast00n, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190604/88ca32bd/attachment.html>


More information about the Kde-frameworks-devel mailing list