[KPhotoAlbum] More performance work

Robert Krawitz rlk at alum.mit.edu
Sat May 12 01:08:16 BST 2018


OK, as promised here's my followon patch.  This has a lot of changes,
described in the comment, but the upshot is that it's now just as fast
to load images with duplicate detection and autostacking turned on as
it is without them.

As a side benefit (or bug fix, really), automatic stacking on load now
works (it hasn't worked in quite a while if all of the images in the
stack are in the loaded set, such as if you're shooting RAW+JPEG).

The image scout thread could be separated out if desired.  It touches
a lot of the same area of code (NewImageFinder::LoadExtraFiles) as the
rest of the changes, but it doesn't actually affect the rest of it
structurally.  The rest of the changes pretty much need to all be done
together, or most of the benefit is lost.
-- 
Robert Krawitz                                     <rlk at alum.mit.edu>

***  MIT Engineers   A Proud Tradition   http://mitathletics.com  ***
Member of the League for Programming Freedom  --  http://ProgFree.org
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Further-perf-improvements-for-loading-and-correct-au.patch
Type: application/octet-stream
Size: 28647 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kphotoalbum/attachments/20180511/717e276a/attachment.obj>


More information about the Kphotoalbum mailing list