D28039: optimize dynamic regex matching

Christoph Cullmann noreply at phabricator.kde.org
Fri Mar 13 19:02:37 GMT 2020


cullmann created this revision.
cullmann added reviewers: dhaumann, vkrause, nibags.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
cullmann requested review of this revision.

REVISION SUMMARY
  allow such matches to be cached, too, by guarding the cache
  with the last used captures
  
  makes VHDL highlighting instantanious for bug 418778
  
  BUG: 418778

TEST PLAN
  make && make test
  
  example from bug 418778 is fast!

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  master

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

AFFECTED FILES
  src/lib/abstracthighlighter.cpp
  src/lib/rule.cpp
  src/lib/rule_p.h

To: cullmann, dhaumann, vkrause, nibags
Cc: kwrite-devel, kde-frameworks-devel, rrosch, LeGast00n, cblack, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20200313/2c8d7968/attachment-0001.html>


More information about the KWrite-Devel mailing list