search-performance branch

Robert Krawitz <rlk-FrUbXkNCsVf2fBVCVOL8/[email protected]>
Newsgroups gmane.comp.kde.kimdaba
Message-ID <20181028044310.C1AC3141E26@localhost>
It looks like the other fixes I did improved matters considerably for
date search.  However, I did find some more inefficiency in the match
code, most notably in not immediately returning on a failed test.  The
date comparison code was also needlessly complicated -- all that's
really needed is to check whether the image start date is greater than
the search end date or the image end date is less than the search
start.

I've pushed those changes to the search-performance branch (and merged
that up to the current master).

-- 
Robert Krawitz                                     <rlk-FrUbXkNCsVf2fBVCVOL8/[email protected]>

***  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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.