[KPhotoAlbum] Inefficiency in ImageSearchInfo::match()

Robert Krawitz rlk at alum.mit.edu
Tue Sep 11 14:03:29 BST 2012


On Tue, 11 Sep 2012 14:26:21 +0200, Jesper K. Pedersen wrote:
> Ahh  x &= y is equal to x = x & y NOT x = x && y;
>
> That can be fixed with rewriting the code to
>
>   b = b && trueFunction()
>
> and in the KPA code doing similar. Robert feel free to fix.

Fixed.
-- 
Robert Krawitz                                     <rlk at alum.mit.edu>

MIT VI-3 1987 - Congratulations MIT Engineers men's hoops Final Four!
Tall Clubs International  --  http://www.tall.org/ or 1-888-IM-TALL-2
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: filenamepattern.diff
Type: application/octet-stream
Size: 9237 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kphotoalbum/attachments/20120911/0267887c/attachment.obj>


More information about the Kphotoalbum mailing list