You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QGIS rendering may get quite slow with the use of expressions using LIKE.
Internally expressions use QRegExp when evaluating LIKE - this class has now a replacement in Qt5 - QRegularExpression. The new class has better API (easier to cache the engine for the regexp) and also a faster engine (based on PCRE library instead of custom one implemented within Qt). It looks like we need to switch to the new class + add caching of the regexp instance where possible (when the right side is a literal string).
Some platforms seem to be more prone to the slowness - e.g. iOS - see MerginMaps/mobile#433
The text was updated successfully, but these errors were encountered:
wonder-sk
added
the
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
label
Sep 6, 2019
QGIS rendering may get quite slow with the use of expressions using LIKE.
Internally expressions use QRegExp when evaluating LIKE - this class has now a replacement in Qt5 - QRegularExpression. The new class has better API (easier to cache the engine for the regexp) and also a faster engine (based on PCRE library instead of custom one implemented within Qt). It looks like we need to switch to the new class + add caching of the regexp instance where possible (when the right side is a literal string).
Some platforms seem to be more prone to the slowness - e.g. iOS - see MerginMaps/mobile#433
The text was updated successfully, but these errors were encountered: