D28039: optimize dynamic regex matching

Christoph Cullmann <[email protected]>
Newsgroups gmane.comp.kde.devel.kwrite,gmane.comp.kde.devel.frameworks
Message-ID <[email protected]>
cullmann added a comment.


  First let's have this, the current state is bad ;=)

INLINE COMMENTS

> dhaumann wrote in rule_p.h:126
> I dislike this protected hack :-)

That is called inheritance ;=)
I first had a virtual function, but this is much easier and faster. (and just costs a few bytes)

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  master

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

To: cullmann, dhaumann, vkrause, nibags
Cc: mwolff, kwrite-devel, kde-frameworks-devel, rrosch, LeGast00n, cblack, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.