YoannQDQ / qgis-memory-layer-saver

Makes data in memory provider layers persistent between QGIS sessions. Data saved in .mldata file alongside project file.
Other
7 stars 4 forks source link

Minor change to speed up saving process #8

Closed fuzzysolutions closed 6 years ago

fuzzysolutions commented 6 years ago

Calling getFeatures() before the loop almost halves the time for the saving routine (it seems like the for loop is calling it again and again).

ccrook commented 6 years ago

@fuzzysolutions Thanks - good to know for future work too.