Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Optimise QgsFeature::setAttributes
Remove the equality check "shortcut". Profiling shows that the cost of checking the equality of the attributes well exceeds the cost of cost always detaching the feature. And in the vast majority of cases the equality operator would return false anyway, resulting in a lot of wasted effort.
- Loading branch information