[KPhotoAlbum] (Re)building the EXIF database

Johannes Zarl-Zierl johannes at zarl-zierl.at
Mon Jan 18 23:42:23 GMT 2016


Hi Robert,

> For each filename, it has to reconstruct the INSERT (which is a fixed
> string), bind the values to it, and then exec the query.
> [...]
> I'd think that using execBatch() to batch up the inserts (maybe 100
> images at a time) would be a lot faster.  Thoughts, anyone?

Even without doing any profiling myself your analysis seems to be on the 
point. I'll try and see how much speedup a better solution will actually bring 
us.

Thanks,
  Johannes



More information about the Kphotoalbum mailing list