Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expression based QgsProperty optimisations #31159

Merged
merged 3 commits into from
Aug 9, 2019

Conversation

nyalldawson
Copy link
Collaborator

Some optimisations to QgsProperty which greatly speed up data defined symbology rendering in some circumstances.

(I don't plan on backporting this ones -- there's a small chance (I guess around 0.5%) it may cause a regression, so I'd rather it just waits it out in master only for now)

Thanks to QGIS grant, sponsored by Hotspot.

retry preparing it for every feature rendered

This can cause a huge slowdown on projects where a layer has a
data defined property with an invalid expression (e.g. due to
a field which has been renamed or dropped).

Sponsored by QGIS grant, identified by Hotspot
based properties

Sponsored by QGIS grant, identified by Hotspot
@nyalldawson nyalldawson added the Optimization I feel the need... the need for speed! label Aug 8, 2019
@nyalldawson nyalldawson merged commit 364c937 into qgis:master Aug 9, 2019
@nyalldawson nyalldawson deleted the prep_prop branch August 9, 2019 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Optimization I feel the need... the need for speed!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant