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

Simplify and optimise python list->QgsAttributes conversion #6194

Merged
merged 1 commit into from
Jan 29, 2018

Conversation

nyalldawson
Copy link
Collaborator

The code has some inefficient handling for None values, including some possibly undefined use of sip API.

Also use QVector::reserve to speed up vector appends (wonder why sip upstream doesn't do this...?)

@nyalldawson nyalldawson merged commit 878fb95 into qgis:master Jan 29, 2018
@nyalldawson nyalldawson deleted the attr_sip branch January 29, 2018 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant