https://bugs.kde.org/show_bug.cgi?id=418778

Christoph Cullmann <cullm...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
      Latest Commit|                            |https://commits.kde.org/syn
                   |                            |tax-highlighting/764957b1d2
                   |                            |3c48a160f0faca623843f678eb2
                   |                            |a52
         Resolution|---                         |FIXED

--- Comment #5 from Christoph Cullmann <cullm...@kde.org> ---
Git commit 764957b1d23c48a160f0faca623843f678eb2a52 by Christoph Cullmann.
Committed on 14/03/2020 at 14:28.
Pushed by cullmann into branch 'master'.

optimize dynamic regex matching

Summary:
allow such matches to be cached, too, by guarding the cache
with the last used captures

makes VHDL highlighting instantanious for bug 418778

Test Plan:
make && make test

example from bug 418778 is fast!

Reviewers: dhaumann, vkrause, nibags

Reviewed By: dhaumann

Subscribers: mwolff, kwrite-devel, kde-frameworks-devel

Tags: #kate, #frameworks

Differential Revision: https://phabricator.kde.org/D28039

M  +13   -1    src/lib/abstracthighlighter.cpp
M  +2    -3    src/lib/rule.cpp
M  +9    -3    src/lib/rule_p.h

https://commits.kde.org/syntax-highlighting/764957b1d23c48a160f0faca623843f678eb2a52

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to