Skip to content

Partially fix slow expression builder widget construction times - #66385

Merged
nyalldawson merged 1 commit into
qgis:masterfrom
nyalldawson:slow_expression_editor
Jun 9, 2026
Merged

Partially fix slow expression builder widget construction times#66385
nyalldawson merged 1 commit into
qgis:masterfrom
nyalldawson:slow_expression_editor

Conversation

@nyalldawson

Copy link
Copy Markdown
Collaborator

This widget takes quite a while to show -- it's partially due to the (double!) python code editors shown on the second tab, which trigger a costly load of the python autocomplete data.

Defer this load until the python code editors are actually shown, speeding up the widget for the most common use of it.

Description

[Replace this with some text explaining the rationale and details about this pull request]

AI tool usage

  • AI tool(s) (Copilot, Claude, or something similar) supported my development of this PR. See our policy about AI tool use. Use of AI tools must be indicated. Failure to be honest might result in banning.
This widget takes quite a while to show -- it's partially due
to the (double!) python code editors shown on the second tab,
which trigger a costly load of the python autocomplete data.

Defer this load until the python code editors are actually shown,
speeding up the widget for the most common use of it.
@nyalldawson nyalldawson added the Optimization I feel the need... the need for speed! label Jun 8, 2026
@github-actions github-actions Bot added this to the 4.2.0 milestone Jun 8, 2026
@nyalldawson
nyalldawson merged commit c31c107 into qgis:master Jun 9, 2026
43 of 44 checks passed
@nyalldawson
nyalldawson deleted the slow_expression_editor branch June 9, 2026 04:11
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!

2 participants