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

Jonathan Poelen <jonathan.poe...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.poe...@gmail.com

--- Comment #1 from Jonathan Poelen <jonathan.poe...@gmail.com> ---
Developer's note: This is related to the way QRegularExpression works in Qt5:
the text is copied for each call to match(QStringView) in syntax-highlighting:
https://codebrowser.dev/qt5/qtbase/src/corelib/text/qregularexpression.h.html#_ZNK18QRegularExpression5matchE11QStringViewiNS_9MatchTypeE6QFlagsINS_11MatchOptionEE

Qt6 does not have this defect. With kate-syntax-highlighter
--output-format=ansi256colors and a json of 1.9M, it takes 45s with Qt5, but
less than 1 second with Qt6.

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

Reply via email to